项目地址
https://github.com/PanJiaChen/vue-admin-template
这是一个 极简的 vue admin 管理后台 它只包含了 Element UI & axios & iconfont & permission control & lint,这些搭建后台必要的东西。
- 在win环境下安装
- nodejs版本8.11.3
# Clone project #生成vue-admin-template目录 git clone https://github.com/PanJiaChen/vue-admin-template.git # Install dependencies #先进入vue-admin-template目录 #命令会生成node_modules目录,所有依赖都在其中 #如果安装失败,删除node_modules目录,重新安装依赖 npm install # Serve with hot reload at localhost:9528 npm run dev # Build for production with minification npm run build # Build for production and view the bundle analyzer report npm run build --report