Skip to content

Commit

Permalink
fix: Remove unused i18n
Browse files Browse the repository at this point in the history
  • Loading branch information
RezaRahemtola committed May 30, 2024
1 parent 754f9c2 commit a6413c1
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 294 deletions.
249 changes: 0 additions & 249 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,9 @@
"stream": "^0.0.2",
"uuid": "^9.0.1",
"vue": "^3.0.0",
"vue-i18n": "^9.0.0",
"vue-router": "^4.0.0"
},
"devDependencies": {
"@intlify/vite-plugin-vue-i18n": "^7.0.0",
"@quasar/app-vite": "^1.9.3",
"autoprefixer": "^10.4.2",
"eslint": "^8.57.0",
Expand Down
19 changes: 2 additions & 17 deletions quasar.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ module.exports = configure(function (/* ctx */) {
// app boot file (/src/boot)
// --> boot files are part of "main.js"
// https://v2.quasar.dev/quasar-cli-vite/boot-files
boot: ['utils', 'i18n', 'axios'],
boot: ['utils', 'axios'],

// https://v2.quasar.dev/quasar-cli-vite/quasar-config-js#css
css: ['app.scss'],
Expand Down Expand Up @@ -81,22 +81,7 @@ module.exports = configure(function (/* ctx */) {
// extendViteConf (viteConf) {},
// viteVuePluginOptions: {},

vitePlugins: [
[
'@intlify/vite-plugin-vue-i18n',
{
// if you want to use Vue I18n Legacy API, you need to set `compositionOnly: false`
// compositionOnly: false,

// if you want to use named tokens in your Vue I18n messages, such as 'Hello {name}',
// you need to set `runtimeOnly: false`
// runtimeOnly: false,

// you need to set i18n resource including paths !
include: path.resolve(__dirname, './src/i18n/**'),
},
],
],
vitePlugins: [],
},

// Full list of options: https://v2.quasar.dev/quasar-cli-vite/quasar-config-js#devServer
Expand Down
Empty file removed src/boot/.gitkeep
Empty file.
14 changes: 0 additions & 14 deletions src/boot/i18n.js

This file was deleted.

7 changes: 0 additions & 7 deletions src/i18n/en-US/index.js

This file was deleted.

5 changes: 0 additions & 5 deletions src/i18n/index.js

This file was deleted.

0 comments on commit a6413c1

Please sign in to comment.