1.1 使用淘宝镜像
$ npm install -g cnpm --registry=https://registry.npm.taobao.org
2. Yarn (yarn)
$ npm install --global yarn
3. Vite (vite 推荐)

1)安装

$ npm create vite@latest

2)文档

4. Vue-Cli (vue-cli 不推荐)
$ npm install -g @vue/cli
5. cnpm(国内 镜像 安装)
$ npm install -g cnpm --registry=https://registry.npm.taobao.org
6. pinia(Vue3.0 状态管理库 推荐

1)安装

$ npm i pinia

2)文档


Tom_Li
26 声望2 粉丝

热爱学习,热爱总结,热爱广博知识