mpvue-cli
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
build
config
src
static
.babelrc
.editorconfig
.gitignore
.postcssrc.js
README.md
github.gitattributes
package-lock.json
package.json
project.config.json

README.md

shui

mpvue脚手架-支持热更新、vuex、小程序分包、封装了新版授权流程、flyio

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

For detailed explanation on how things work, checkout the guide and docs for vue-loader.

如何获取小程序在 app onLaunch/onShow 时候传递的 options 在所有的组件内可以通过 this.$root.$mp.appOptions 进行获取。