pip install -i http://mirrors.aliyun.com/pypi/simple --trusted-host mirrors.aliyun.com nodeenv nodeenv envnode . envnode/bin/activate # env虚拟环境 npm config list # 查看npm源 npm config set registry https://registry.npm.taobao.org npm install --registry=https://registry.npm.taobao.org --global vue-cli npm install -g webpack # 安装脚手架 vue init webpack new_vue # 创建项目 cd new_vue npm run dev # 本地运行项目 Build Setup # install dependencies (安装package.json包中的依赖) npm install # serve with hot reload at localhost:8080 npm run dev # build for production with minification npm run build # build for production and