ZengTao
2024-05-13 c85904597bf93e0fbae321093a970dd973b0f64f
CanadaMes-ui/src/main.js
@@ -10,10 +10,14 @@
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', 
@@ -37,7 +41,7 @@
new Vue({
    router,
    i18n,
    store,
    // store,
    render: h => h(App)
}).$mount('#app');