[web] Reorganise i18n
This commit is contained in:
parent
5c2845784f
commit
579c636d50
|
@ -8,7 +8,7 @@
|
|||
"lint": "eslint --ext .js,.vue --ignore-path .gitignore --fix src",
|
||||
"dev": "vite",
|
||||
"format": "prettier . --write",
|
||||
"i18n:report": "vue-cli-service i18n:report --src \"./src/**/*.?(js|vue)\" --locales \"./src/locales/**/*.json\"",
|
||||
"i18n:report": "vue-cli-service i18n:report --src \"./src/**/*.?(js|vue)\" --locales \"./src/i18n/**/*.json\"",
|
||||
"preview": "vite preview"
|
||||
},
|
||||
"dependencies": {
|
||||
|
|
|
@ -16,7 +16,7 @@ export default defineConfig({
|
|||
plugins: [
|
||||
vue(),
|
||||
i18n({
|
||||
include: path.resolve(__dirname, './src/locales/**')
|
||||
include: path.resolve(__dirname, './src/i18n/**.json')
|
||||
})
|
||||
],
|
||||
build: {
|
||||
|
|
Loading…
Reference in New Issue