11 2021 档案
摘要:vue-cli脚手架3.0前后版本切换方法 一、3.0以下 >3.0以上(升版本) 步骤: 卸载3.0之前的 npm uninstall -g vue-cli 安装3.0之后的 npm install -g @vue/cli 如果报错,执行以下命令 更新npm npm i npm -g 更新vue
阅读全文
摘要:在windows环境下搭建Vue开发环境 步骤 安装node.js 访问node.js中文网-->下载 选择xxxx-x64.msi。 安装node.js 呆瓜式安装 设置node的全局和缓存路径 在安装目录下新建两个文件夹:node_cache; node_global 设置缓存路径: npm c
阅读全文