[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", "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": {

View File

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