Configuration location
//main.js
import Vue from 'vue'
import App from './index'
const app = new Vue(App)
app.$mount()
export default {
config: {
"enablePullDownRefresh": true,//开启下拉刷新
"backgroundTextStyle": "light",
"backgroundColor": "#42D3C4",
}
}
Native applets can add .json files under pages, while mpvue only needs to be set under pages / xxx / main.js file.
Seeing a comment on a blog post, Hahaha perfectly expressed my feelings.
I used to think that the browser was hypocritical, and I didn't know what hypocrisy was until I met an applet! !