mirror of
https://codeberg.org/SafeTwitch/safetwitch.git
synced 2024-12-22 05:12:57 -05: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",
|
"tailwindcss-themer": "^3.1.0",
|
||||||
"typescript": "~5.2.0",
|
"typescript": "~5.2.0",
|
||||||
"vite": "^4.5.0",
|
"vite": "^4.5.0",
|
||||||
|
"vite-plugin-vue-devtools": "^7.2.1",
|
||||||
"vue-cli-plugin-i18n": "~2.3.2",
|
"vue-cli-plugin-i18n": "~2.3.2",
|
||||||
"vue-tsc": "^1.8.19"
|
"vue-tsc": "^1.8.19"
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,6 +5,8 @@ import vue from '@vitejs/plugin-vue'
|
||||||
import VueI18nPlugin from '@intlify/unplugin-vue-i18n/vite'
|
import VueI18nPlugin from '@intlify/unplugin-vue-i18n/vite'
|
||||||
import { dirname, resolve } from 'node:path'
|
import { dirname, resolve } from 'node:path'
|
||||||
import { gitDescribeSync } from 'git-describe'
|
import { gitDescribeSync } from 'git-describe'
|
||||||
|
import VueDevTools from 'vite-plugin-vue-devtools'
|
||||||
|
|
||||||
|
|
||||||
// Footer version
|
// Footer version
|
||||||
const gitVer = gitDescribeSync()
|
const gitVer = gitDescribeSync()
|
||||||
|
@ -18,7 +20,8 @@ export default defineConfig({
|
||||||
vue(),
|
vue(),
|
||||||
VueI18nPlugin({
|
VueI18nPlugin({
|
||||||
include: resolve(dirname(fileURLToPath(import.meta.url)), './src/locales/**'),
|
include: resolve(dirname(fileURLToPath(import.meta.url)), './src/locales/**'),
|
||||||
})
|
}),
|
||||||
|
VueDevTools()
|
||||||
],
|
],
|
||||||
resolve: {
|
resolve: {
|
||||||
alias: {
|
alias: {
|
||||||
|
|
Loading…
Reference in a new issue