halo-admin/src/main.js

24 lines
458 B
JavaScript
Raw Normal View History

2019-03-20 12:22:52 +00:00
import '@babel/polyfill'
import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store/'
2019-03-28 17:22:30 +00:00
import './logger'
2019-03-18 16:35:13 +00:00
2019-04-18 02:45:50 +00:00
import './core/lazy_use'
2019-04-30 03:18:03 +00:00
import './permission'
2019-03-20 12:22:52 +00:00
import '@/utils/filter' // global filter
2019-04-19 08:27:17 +00:00
import './components'
2019-06-12 16:25:35 +00:00
import { version } from '../package.json'
2019-03-20 12:22:52 +00:00
Vue.config.productionTip = false
Vue.prototype.VERSION = version
2019-03-20 12:22:52 +00:00
2019-03-28 17:22:30 +00:00
Vue.use(router)
2019-03-18 16:35:13 +00:00
new Vue({
router,
store,
render: h => h(App)
2019-03-20 12:22:52 +00:00
}).$mount('#app')