A Mpvue project
# 初始化项目
vue clone http://git.inspur.com/bss-miniapp/miniapp-front.git
cd miniapp-front
# 安装依赖
npm install
# 开发时构建
npm dev
# 在微信小程序中查看方式
将 dist 下的文件导入微信工具中即可
# 打包构建
npm build
# 生成 bundle 分析报告
npm run build --report
For detailed explanation on how things work, checkout the guide and docs for vue-loader.