Blame view

node_modules/mpvue-toast/src/main.js 584 Bytes
ce4c83ff   wxy   初始提交
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
  import Vue from 'vue'
  import App from './App'
  
  Vue.config.productionTip = false
  App.mpType = 'app'
  
  const app = new Vue(App)
  app.$mount()
  
  export default {
    // 这个字段走 app.json
    config: {
      pages: ['pages/logs/logs', '^pages/index/index'], // 页面前带有 ^ 符号的,会被编译成首页,其他页面可以选填,我们会自动把 webpack entry 里面的入口页面加进去
      window: {
        backgroundTextStyle: 'light',
        navigationBarBackgroundColor: '#fff',
        navigationBarTitleText: 'WeChat',
        navigationBarTextStyle: 'black'
      }
    }
  }