A Mpvue project
# install dependencies
yarn
# serve with hot reload at localhost:8080
npm dev
# pick a platform you wante
npm dev:wx
npm dev:swan
npm dev:tt
npm dev:my
# build for production with minification
npm build
For detailed explanation on how things work, checkout the guide and docs for vue-loader.
mpvue 相关依赖内测中,对应版本号如下,可通过 tag 安装。 欢迎试用和提意见!
yarn add mpvue@wbta mpvue-template-compiler@wbta mpvue-loader@wbta webpack-mpvue-asset-plugin@wbta webpack-mpvue-vendor-plugin@wbta