Add custom shortcut key function
This commit is contained in:
10
src/main.ts
10
src/main.ts
@@ -5,7 +5,16 @@ import App from './App.vue'
|
||||
import {createPinia} from "pinia"
|
||||
// import ElementPlus from 'element-plus'
|
||||
import VirtualList from 'vue-virtual-list-v3';
|
||||
import ZH from "@/locales/zh-CN.ts";
|
||||
import {createI18n} from 'vue-i18n'
|
||||
|
||||
const i18n = createI18n({
|
||||
locale: 'zh-CN',
|
||||
fallbackLocale: 'zh-CN',
|
||||
messages: {
|
||||
'zh-CN': ZH
|
||||
},
|
||||
})
|
||||
const pinia = createPinia()
|
||||
// const app = createApp(Mobile)
|
||||
const app = createApp(App)
|
||||
@@ -13,5 +22,6 @@ const app = createApp(App)
|
||||
// app.use(ElementPlus)
|
||||
app.use(pinia)
|
||||
app.use(VirtualList);
|
||||
app.use(i18n)
|
||||
|
||||
app.mount('#app')
|
||||
Reference in New Issue
Block a user