refactor: updated i18n implementation in the admin dashboard (#3395)

* feat: introduced new unplugin i18n and removed the old vite i18n package

* refactor: updated vite config to support the new plugin

* refactor: removed irrelevant logic from the i18n module
This commit is contained in:
Joel Jacob Stephen
2023-10-06 17:36:19 +05:30
committed by GitHub
parent 17d6ae15a5
commit 6c63a8dc28
4 changed files with 145 additions and 220 deletions

View File

@@ -19,6 +19,7 @@
"@graphql-typed-document-node/core": "^3.1.1",
"@hoppscotch/ui": "workspace:^",
"@hoppscotch/vue-toasted": "^0.1.0",
"@intlify/unplugin-vue-i18n": "^1.2.0",
"@types/cors": "^2.8.13",
"@types/express": "^4.17.15",
"@urql/vue": "^1.0.4",
@@ -53,7 +54,6 @@
"@graphql-codegen/urql-introspection": "2.2.1",
"@import-meta-env/cli": "^0.6.3",
"@import-meta-env/unplugin": "^0.4.8",
"@intlify/vite-plugin-vue-i18n": "^7.0.0",
"@vitejs/plugin-vue": "^3.1.0",
"@vue/compiler-sfc": "^3.2.6",
"dotenv": "^16.0.3",