Skip to content

Commit

Permalink
chore: replace vite-plugin-inspect with vite-plugin-vue-devtools (#2814)
Browse files Browse the repository at this point in the history
  • Loading branch information
eiinu authored Jan 2, 2024
1 parent 59cc159 commit 89ed9ab
Show file tree
Hide file tree
Showing 3 changed files with 135 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
"typescript": "^5.3.3",
"unplugin-vue-components": "^0.26.0",
"vite": "^5.0.10",
"vite-plugin-inspect": "^0.8.1",
"vite-plugin-vue-devtools": "^7.0.2",
"vitest": "^1.1.1",
"vitest-canvas-mock": "^0.3.3",
"vue": "^3.4.3",
Expand Down
135 changes: 132 additions & 3 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import vue from '@vitejs/plugin-vue';
import path from 'path';
import config from './package.json';
import autoprefixer from 'autoprefixer';
import Inspect from 'vite-plugin-inspect';
import VueDevTools from 'vite-plugin-vue-devtools';
import { markdown } from '@nutui/vite-plugins';
const resolve = path.resolve;
// https://vitejs.dev/config/
Expand All @@ -29,7 +29,7 @@ export default defineConfig({
}
},
plugins: [
Inspect(),
VueDevTools(),
vue({
include: [/\.vue$/, /\.md$/]
}),
Expand Down

0 comments on commit 89ed9ab

Please sign in to comment.