| | |
| | | import App from './App.vue' |
| | | import router from './router' |
| | | import ElementUI, {Message, MessageBox} from 'element-ui'; |
| | | import locale from 'element-ui/lib/locale/lang/en' // lang i18n |
| | | |
| | | import 'element-ui/lib/theme-chalk/index.css'; |
| | | // 导入全局样式表 |
| | | import './assets/css/global.css' |
| | | import VueI18n from 'vue-i18n' |
| | | import zhCN from './lang/locales/zh-CN.json' // 中文语言包 |
| | | import enUS from './lang/locales/en-US.json' // 英文语言包 |
| | | import store from './store' |
| | | // import store from './store' |
| | | |
| | | // import store from './store' |
| | | Vue.use(VueI18n) |
| | |
| | | |
| | | const EventBus = new Vue(); |
| | | Vue.prototype.$bus = EventBus; |
| | | Vue.use(ElementUI); |
| | | Vue.use(ElementUI,{locale}); |
| | | |
| | | Vue.config.productionTip = false; |
| | | |
| | |
| | | new Vue({ |
| | | router, |
| | | i18n, |
| | | store, |
| | | // store, |
| | | |
| | | render: h => h(App) |
| | | }).$mount('#app'); |