基于 nodejs 开发的前端项目,依赖 nodejs 开发环境
- 使用 npm
# install dependencies
npm install
# serve with hot reload at localhost:5700
npm run dev
# build for production with minification
npm run build
2.使用 yarn(推荐,需自行安装 yarn)
# install dependencies
yarn install
# serve with hot reload at localhost:5700
yarn run dev
# build for production with minification
yarn run build