diff --git a/package.json b/package.json index 8613b16..56a2f4f 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,7 @@ "audit": "npm audit --fix", "lint": "eslint . --ext .vue,.js,.jsx,.ts,.tsx --fix --max-warnings 0", "lint:check": "eslint . --ext .vue,.js,.jsx,.ts,.tsx", + "i18n:extract": "vue-i18n-extract --path './src/**/*.{vue,js,ts}'", "prepare": "husky install", "reinstall": "rm -rf node_modules package-lock.json && npm install" }, diff --git a/src/views/I18nDemo.vue b/src/views/I18nDemo.vue index 0114401..7e5bc0c 100644 --- a/src/views/I18nDemo.vue +++ b/src/views/I18nDemo.vue @@ -33,6 +33,7 @@