Blame view

src/main.js 536 Bytes
00a57799   liuqimichale   init
1
2
3
4
  // The Vue build version to load with the `import` command
  // (runtime-only or standalone) has been set in webpack.base.conf with an alias.
  import Vue from 'vue'
  import App from './App'
3c664be7   liuqimichale   postcss
5
  import './style/reset.css'
f9b345a2   liuqimichale   全局filters
6
7
8
9
10
11
  
  import * as filters from './utils/filters'
  Object.keys(filters).forEach(key => {
    Vue.filter(key, filters[key])
  })
  
350097e4   liuqimichale   调取接口
12
13
14
  import _global from './utils/variables'
  Vue.prototype.GLOBAL = _global
  
00a57799   liuqimichale   init
15
16
17
18
19
20
21
22
  Vue.config.productionTip = false
  
  /* eslint-disable no-new */
  new Vue({
    el: '#app',
    components: { App },
    template: '<App/>'
  })