Blame view

src/main.js 628 Bytes
52c50939   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'
cb40959e   liuqimichale   添加mock 数据
5
  import './mock/mock'
52c50939   liuqimichale   init
6
  import '@/styles/reset.css'/*引入重置样式*/
237f69eb   liuqimichale   收费员
7
  // import '@/styles/mixin.scss'/*引入公共样式*/
9a83dd61   liuqimichale   全局注册util方法
8
9
10
11
12
13
14
  import * as filters from './filters/filters'
  import util from './utils/formatNum'
  Vue.prototype.$util = util
  
  Object.keys(filters).forEach(key => {
    Vue.filter(key, filters[key])
  })
52c50939   liuqimichale   init
15
16
17
18
19
20
21
22
23
  
  Vue.config.productionTip = false
  
  /* eslint-disable no-new */
  new Vue({
    el: '#app',
    components: { App },
    template: '<App/>'
  })