vue-cli构建项目时安装的常用依赖

前端之家收集整理的这篇文章主要介绍了vue-cli构建项目时安装的常用依赖前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

npm install -g vue-cli
mkdir my-project && cd my-project
npm init
vue init webpack my-project
cd my-project
npm install
npm run dev

npm install webpack --save-devnpm install vuex --save-devnpm install style-loader css-loader stylus-loader stylus --save-devnpm install --save-dev postcss-loader autoprefixernpm install less less-loader --save-devnpm install node-sass sass-loader --save-devnpm install vue-resource --save-devnpm install axios --save-devnpm install --save-dev babel-loader babel-core babel-preset-env webpack npm install html-webpack-plugin --save-dev ( 安装html-webpack-plugin插件 )npm install express --save-devnpm install element-ui --save-dev

猜你在找的设计模式相关文章