mpvue 開發(fā)百度小程序指導手冊
Build Setup
# install dependencies
npm install
npm install mpvue@beta mpvue-loader@beta mpvue-template-compiler@beta
# serve with hot reload at localhost:8080
npm run dev:swan
# build for production with minification
npm run build:swan
# build for production and view the bundle analyzer report
npm run build:swan --report
閱讀本文的人還可以閱讀: