problem description
use mpvue to add config to the main under src. But none of the configurations took effect. And prompt that the entry app.json was not found
the environmental background of the problems and what methods you have tried
Baidu said to delete the ^ of mpvue-loader in package.json, but it did not take effect
related codes
/ / Please paste the code text below (do not replace the code with pictures)
main.js
Vue.config.productionTip = false
App.mpType = "app"
const app = new Vue (App)
app.$mount ()
export default {
pages: [
"pages/main.js"
],
config: {
"window": {
"backgroundTextStyle": "light",
"navigationBarBackgroundColor": "-sharpea5149",
"navigationBarTitleText": "",
"navigationBarTextStyle": "light"
}
}
}
File directory:
: