Add Vue devtools

This commit is contained in:
dragongoose 2024-06-02 11:53:30 -04:00
parent 8e23dc0e7f
commit 1e43d63928
No known key found for this signature in database
GPG key ID: 01397EEC371CDAA5
3 changed files with 1339 additions and 127 deletions

1460
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -48,6 +48,7 @@
"tailwindcss-themer": "^3.1.0",
"typescript": "~5.2.0",
"vite": "^4.5.0",
"vite-plugin-vue-devtools": "^7.2.1",
"vue-cli-plugin-i18n": "~2.3.2",
"vue-tsc": "^1.8.19"
}

View file

@ -5,6 +5,8 @@ import vue from '@vitejs/plugin-vue'
import VueI18nPlugin from '@intlify/unplugin-vue-i18n/vite'
import { dirname, resolve } from 'node:path'
import { gitDescribeSync } from 'git-describe'
import VueDevTools from 'vite-plugin-vue-devtools'
// Footer version
const gitVer = gitDescribeSync()
@ -18,7 +20,8 @@ export default defineConfig({
vue(),
VueI18nPlugin({
include: resolve(dirname(fileURLToPath(import.meta.url)), './src/locales/**'),
})
}),
VueDevTools()
],
resolve: {
alias: {