[web] Reorganise i18n

This commit is contained in:
Alain Nussbaumer 2024-02-22 17:25:46 +01:00
parent 5c2845784f
commit 579c636d50
8 changed files with 2 additions and 2 deletions

View File

@ -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": {

View File

@ -16,7 +16,7 @@ export default defineConfig({
plugins: [
vue(),
i18n({
include: path.resolve(__dirname, './src/locales/**')
include: path.resolve(__dirname, './src/i18n/**.json')
})
],
build: {