Skip to content

Commit

Permalink
build: add vue-devtools
Browse files Browse the repository at this point in the history
cxzlw committed Dec 1, 2024
1 parent 9ebc911 commit 52752a1
Showing 3 changed files with 690 additions and 0 deletions.
6 changes: 6 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -53,7 +53,13 @@
"vite": "^6.0.1",
"vite-bundle-analyzer": "^0.15.2",
"vite-plugin-inspect": "^0.10.2",
"vite-plugin-vue-devtools": "^7.6.7",
"vue": "^3.5.13",
"vue-tsc": "^2.1.10"
},
"overrides": {
"vite-plugin-inspect": {
"vite": "^6.0.1"
}
}
}
682 changes: 682 additions & 0 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
@@ -10,6 +10,7 @@ import components from "unplugin-vue-components/vite";
import { defineConfig } from "vite";
import { analyzer } from "vite-bundle-analyzer";
import Inspect from "vite-plugin-inspect";
import vueDevTools from "vite-plugin-vue-devtools";

export default defineConfig({
plugins: [
@@ -43,6 +44,7 @@ export default defineConfig({
defaultSizes: "gzip",
}),
visualizer(),
vueDevTools(),
],
server: {
host: "0.0.0.0",

0 comments on commit 52752a1

Please sign in to comment.