You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
918 B
38 lines
918 B
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'
|
|
import 'moment/locale/zh-tw'
|
|
import CKEditor from 'ckeditor4-vue';
|
|
import VueClipboard from 'vue-clipboard2'
|
|
|
|
const router = initRouter(store.state.setting.asyncRoutes)
|
|
const i18n = initI18n('TW', 'CN', 'US')
|
|
|
|
import * as ElResize from 'vue-element-resize-event'
|
|
Vue.use(ElResize)
|
|
|
|
Vue.use(Antd)
|
|
Vue.config.productionTip = false
|
|
Vue.use(Viser)
|
|
Vue.use(Plugins)
|
|
Vue.use(CKEditor)
|
|
Vue.use(VueClipboard)
|
|
|
|
bootstrap({router, store, i18n, message: Vue.prototype.$message})
|
|
|
|
new Vue({
|
|
router,
|
|
store,
|
|
i18n,
|
|
render: h => h(App),
|
|
}).$mount('#app')
|