chore: optimize vue-i18n (#152)

This commit is contained in:
userquin 2021-07-18 15:28:12 +02:00 committed by GitHub
parent 05bc8e9a36
commit 0ec158b49b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -111,6 +111,8 @@ export default defineConfig({
// https://github.com/intlify/vite-plugin-vue-i18n
VueI18n({
runtimeOnly: true,
compositionOnly: true,
include: [path.resolve(__dirname, 'locales/**')],
}),
],