mirror of
https://codeberg.org/dragongoose/safetwitch.git
synced 2024-11-03 06:34:00 +00:00
Add Vue devtools
This commit is contained in:
parent
8e23dc0e7f
commit
1e43d63928
3 changed files with 1339 additions and 127 deletions
1460
package-lock.json
generated
1460
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -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"
|
||||
}
|
||||
|
|
|
@ -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: {
|
||||
|
|
Loading…
Reference in a new issue