post the initial code of mpvue-quickstart project creation:
src/app.json:
{
"pages": [
"pages/index/main",
"pages/logs/main",
"pages/counter/main"
],
"window": {
"backgroundTextStyle": "light",
"navigationBarBackgroundColor": "-sharpfff",
"navigationBarTitleText": "WeChat",
"navigationBarTextStyle": "black"
}
}
src/main.js
import Vue from "vue"
import App from "./App"
import "../static/weui/weui.css"
Vue.config.productionTip = false
App.mpType = "app"
const app = new Vue(App)
app.$mount()
how do I set up tabBar?
"tabBar": {
"color": "-sharp999",
"selectedColor": "-sharp1aad16",
"backgroundColor": "-sharpfff",
"borderStyle": "-sharpfff",
"list": [{
"pagePath": "pages/counter/main",
"text": "1"
}, {
"pagePath": "pages/index/main",
"text": ""
}]
}