chore: optimize vue-i18n (#152)
This commit is contained in:
parent
05bc8e9a36
commit
0ec158b49b
@ -111,6 +111,8 @@ export default defineConfig({
|
|||||||
|
|
||||||
// https://github.com/intlify/vite-plugin-vue-i18n
|
// https://github.com/intlify/vite-plugin-vue-i18n
|
||||||
VueI18n({
|
VueI18n({
|
||||||
|
runtimeOnly: true,
|
||||||
|
compositionOnly: true,
|
||||||
include: [path.resolve(__dirname, 'locales/**')],
|
include: [path.resolve(__dirname, 'locales/**')],
|
||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user