| | |
| | | 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 websocketPlugin from './api/websocketPlugin'; // 引入插件文件 |
| | | // import store from './store' |
| | | |
| | | // import store from './store' |
| | | Vue.use(VueI18n) |
| | | // Vue.use(websocketPlugin, { |
| | | // ip: 'localhost', // 替换成你的 WebSocket 服务器 IP 地址 |
| | | // }); |
| | | |
| | | const i18n = new VueI18n({ |
| | | locale: 'en-US', |
| | |
| | | new Vue({ |
| | | router, |
| | | i18n, |
| | | store, |
| | | // store, |
| | | |
| | | render: h => h(App) |
| | | }).$mount('#app'); |