研发图纸文件管理系统-前端项目
iczer
2020-08-26 51c2c354ba84acd869823b1ba96cf617e7c5eb51
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import Vue from 'vue'
import App from './App.vue'
import {initRouter} from './router'
import './theme/index.less'
import Antd from 'ant-design-vue'
import Viser from 'viser-vue'
import '@/mock'
import store from './store'
import 'animate.css/source/animate.css'
import Plugins from '@/plugins'
import {initI18n} from '@/utils/i18n'
import bootstrap from '@/bootstrap'
 
const router = initRouter(store.state.setting.asyncRoutes)
const i18n = initI18n('CN', 'US')
 
Vue.use(Antd)
Vue.config.productionTip = false
Vue.use(Viser)
Vue.use(Plugins)
 
bootstrap({router, store, i18n, message: Vue.prototype.$message})
 
new Vue({
  router,
  store,
  i18n,
  render: h => h(App),
}).$mount('#app')