[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",
|
"lint": "eslint --ext .js,.vue --ignore-path .gitignore --fix src",
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
"format": "prettier . --write",
|
"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"
|
"preview": "vite preview"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
|
@ -16,7 +16,7 @@ export default defineConfig({
|
||||||
plugins: [
|
plugins: [
|
||||||
vue(),
|
vue(),
|
||||||
i18n({
|
i18n({
|
||||||
include: path.resolve(__dirname, './src/locales/**')
|
include: path.resolve(__dirname, './src/i18n/**.json')
|
||||||
})
|
})
|
||||||
],
|
],
|
||||||
build: {
|
build: {
|
||||||
|
|
Loading…
Reference in New Issue