Blame view

node_modules/mpvue-zanui/src/main.js 652 Bytes
ce4c83ff   wxy   初始提交
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
  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/main', 'pages/index/main', '^pages/zan_dashboard/main'], // 页面前带有 ^ 符号的,会被编译成首页,其他页面可以选填,我们会自动把 webpack entry 里面的入口页面加进去
      window: {
        backgroundTextStyle: 'dark',
        navigationBarBackgroundColor: '#FAFAFA',
        navigationBarTitleText: 'ZanUI-WeApp',
        navigationBarTextStyle: 'black',
        backgroundColor: '#f9f9f9'
      }
    }
  }