mpvue 开发多端小程序 最新模板

charblus 7a8385892b mpvue version 1.1.1以上 use app.json create config 5 vuotta sitten
.vscode d6fe278e21 add template 5 vuotta sitten
build 5ddc721c13 login openid 5 vuotta sitten
config d6fe278e21 add template 5 vuotta sitten
server e089baac42 src client injust post /weapp/ 5 vuotta sitten
src 7a8385892b mpvue version 1.1.1以上 use app.json create config 5 vuotta sitten
static d6fe278e21 add template 5 vuotta sitten
.babelrc d6fe278e21 add template 5 vuotta sitten
.editorconfig d6fe278e21 add template 5 vuotta sitten
.eslintignore d6fe278e21 add template 5 vuotta sitten
.eslintrc.js d6fe278e21 add template 5 vuotta sitten
.gitignore d6fe278e21 add template 5 vuotta sitten
.postcssrc.js d6fe278e21 add template 5 vuotta sitten
README.md 8dae5c102e localhost mysql change in 5.7 version for mysql init success, local dev env selected 5 vuotta sitten
index.html d6fe278e21 add template 5 vuotta sitten
package-lock.json 8dae5c102e localhost mysql change in 5.7 version for mysql init success, local dev env selected 5 vuotta sitten
package.json 8dae5c102e localhost mysql change in 5.7 version for mysql init success, local dev env selected 5 vuotta sitten
package.swan.json d6fe278e21 add template 5 vuotta sitten
project.config.json d19dc440b8 close domain name validatioin and no use useQcloudLogin for tencent cloud proxy wx small codes 5 vuotta sitten
project.swan.json d6fe278e21 add template 5 vuotta sitten

README.md

my-mpvue

A Mpvue project

Build Setup

# 初始化项目
vue init mpvue/mpvue-quickstart myproject
cd myproject

# 安装依赖
yarn

# 开发时构建
npm dev

# 打包构建
npm build

# 指定平台的开发时构建(微信、百度、头条、支付宝)
npm dev:wx
npm dev:swan
npm dev:tt
npm dev:my

# 指定平台的打包构建
npm build:wx
npm build:swan
npm build:tt
npm build:my

# 生成 bundle 分析报告
npm run build --report

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