开发环境安装:
Node.js 网址:https://nodejs.org/en/download/
git 参考文章:https://mp.csdn.net/console/editor/html/105779439
vscode 安装vetur
插件
npm命令:
npm install -g cnpm –registry=https://registry.npm.taobao.org
cnpm install webpack –g
npm install -g vue-cli
npm install
vue init webpack projectName 创建项目
npm run dev 运行命令
npm install npm -g
更新npm至最新版
npm run build:prod 打包正式环境
npm run build:stage 打包预发布环境
vue-element-admin 使用指南:
git clone https://github.com/PanJiaChen/vue-element-admin.git 下载项目到本地
cd vue-element-admin
npm install 安装npm
npm install --registry=https://registry.npm.taobao.org
npm run dev 运行项目
部署到IIS:
1.执行下面任一指令,会在项目文件夹下面创建一个dist文件夹
npm run build:prod 打包正式环境
npm run build:stage 打包预发布环境
2.将dist文件作为website部署到iis即可
https://blog.csdn.net/weixin_42144379/article/details/86064214
请使用手机"扫一扫"x