标签:ios install cnp mpi init htm pil reset ini
Vue环境安装
https://nodejs.org/en/
node -v
配置环境变量
NODE_HOME=D:\Program Files\nodejs
%NODE_HOME%\;
%NODE_HOME%\node_modules;
%NODE_HOME%\node_global_modules;
npm install npm -g
npm -v
cnpm install npm -g
npm config ls
npm config set registry http://registry.cnpmjs.org
npm config set prefix "D:\Program Files\nodejs\node_global_modules"
npm config set cache "D:\Program Files\nodejs\node_cache"
npm install webpack webpack-cli -g
npm install webpack webpack -g
npm install vue-cli -g
vue init webpack demo
cd demo
npm run dev
npm run build
npm install -g babel-cli
npm install babel-preset-es2015 babel-cli --save-dev
npm install babel-loader --save-dev
npm install babel-core --save-dev
#npm run compile
https://segmentfault.com/a/1190000008899254
npm init -yes
npm install -g gulp
npm install gulp -save-dev
npm install -g webpack
npm install webpack-cli -g
npm install webpack webpack-cli -save-dev
#CSS
npm install style-loader --save-dev
npm install css-loader --save-dev
#HTML
npm install html-webpack-plugin --save-dev
npm install babel-loader @babel/core @babel/preset-env -D
#热更新
npm install webpack-dev-sever --save-dev
webpack --mode development
npm install --save axios vue-axios
标签:ios install cnp mpi init htm pil reset ini
原文地址:https://www.cnblogs.com/geduocoding/p/10562169.html