2019-03-20 12:22:52 +00:00
|
|
|
import '@babel/polyfill'
|
|
|
|
import Vue from 'vue'
|
|
|
|
import App from './App.vue'
|
|
|
|
import router from './router'
|
2020-05-28 15:57:44 +00:00
|
|
|
import Contextmenu from 'vue-contextmenujs'
|
2019-03-20 12:22:52 +00:00
|
|
|
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
|
2019-06-12 16:01:53 +00:00
|
|
|
Vue.prototype.VERSION = version
|
2019-03-20 12:22:52 +00:00
|
|
|
|
2019-03-28 17:22:30 +00:00
|
|
|
Vue.use(router)
|
2020-05-28 15:57:44 +00:00
|
|
|
Vue.use(Contextmenu)
|
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')
|