mirror of
https://github.com/snowykami/mbcp.git
synced 2026-01-25 21:21:56 +00:00
29 lines
543 B
TypeScript
29 lines
543 B
TypeScript
import DefaultTheme from 'vitepress/theme-without-fonts'
|
|
import Theme from 'vitepress/theme'
|
|
import {createI18n} from 'vue-i18n'
|
|
import './fonts.css'
|
|
|
|
const i18n = createI18n({
|
|
// something vue-i18n options here ..
|
|
messages: {
|
|
en: {
|
|
tip: "TIP",
|
|
},
|
|
ja: {
|
|
tip: "γγ³γ",
|
|
},
|
|
zh: {
|
|
tip: "ζη€Ί",
|
|
},
|
|
zht: {
|
|
tip: "ζη€Ί",
|
|
}
|
|
}
|
|
})
|
|
|
|
export default {
|
|
extends: Theme,
|
|
enhanceApp({app}) {
|
|
app.use(i18n)
|
|
}
|
|
} |