feat: add vite-plugin-vue-devtools
This commit is contained in:
parent
a800cbed5f
commit
e8a07fc8e0
2
frontend/env.d.ts
vendored
2
frontend/env.d.ts
vendored
@ -16,6 +16,8 @@ interface ImportMetaEnv {
|
||||
readonly SENTRY_PROJECT?: string
|
||||
|
||||
readonly VITE_IS_ONLINE: boolean
|
||||
|
||||
readonly VUE_DEVTOOLS_LAUNCH_EDITOR: VitePluginVueDevToolsOptions.launchEditor
|
||||
}
|
||||
|
||||
interface ImportMeta {
|
||||
|
@ -169,6 +169,7 @@
|
||||
"vite": "6.0.3",
|
||||
"vite-plugin-pwa": "0.21.1",
|
||||
"vite-plugin-sentry": "1.4.0",
|
||||
"vite-plugin-vue-devtools": "7.6.7",
|
||||
"vite-svg-loader": "5.1.0",
|
||||
"vitest": "2.1.8",
|
||||
"vue-tsc": "2.1.10",
|
||||
|
562
frontend/pnpm-lock.yaml
generated
562
frontend/pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@ -16,6 +16,7 @@ import svgLoader from 'vite-svg-loader'
|
||||
import postcssPresetEnv from 'postcss-preset-env'
|
||||
import postcssEasingGradients from 'postcss-easing-gradients'
|
||||
import tailwindcss from 'tailwindcss'
|
||||
import vueDevTools from 'vite-plugin-vue-devtools'
|
||||
|
||||
const pathSrc = fileURLToPath(new URL('./src', import.meta.url)).replaceAll('\\', '/')
|
||||
|
||||
@ -196,6 +197,9 @@ export default defineConfig(({mode}) => {
|
||||
],
|
||||
},
|
||||
}),
|
||||
vueDevTools({
|
||||
launchEditor: env.VUE_DEVTOOLS_LAUNCH_EDITOR || 'code'
|
||||
}),
|
||||
viteSentry(getSentryConfig(env)),
|
||||
],
|
||||
resolve: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user