Skip to content

Commit

Permalink
chore(projects): add vite-plugin-vue-devtools
Browse files Browse the repository at this point in the history
  • Loading branch information
honghuangdc committed Jun 15, 2023
1 parent 473095b commit c1bee40
Show file tree
Hide file tree
Showing 3 changed files with 1,694 additions and 71 deletions.
2 changes: 2 additions & 0 deletions build/plugins/index.ts
Expand Up @@ -3,6 +3,7 @@ import vue from '@vitejs/plugin-vue';
import vueJsx from '@vitejs/plugin-vue-jsx';
import unocss from '@unocss/vite';
import progress from 'vite-plugin-progress';
import VueDevtools from 'vite-plugin-vue-devtools';
import pageRoute from '@soybeanjs/vite-plugin-vue-page-route';
import unplugin from './unplugin';
import mock from './mock';
Expand All @@ -22,6 +23,7 @@ export function setupVitePlugins(viteEnv: ImportMetaEnv): (PluginOption | Plugin
}
}),
vueJsx(),
VueDevtools(),
...unplugin(viteEnv),
unocss(),
mock(viteEnv),
Expand Down
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -115,6 +115,7 @@
"vite-plugin-progress": "0.0.7",
"vite-plugin-pwa": "0.16.4",
"vite-plugin-svg-icons": "2.0.1",
"vite-plugin-vue-devtools": "0.2.0",
"vue-tsc": "1.6.5"
},
"pnpm": {
Expand Down

0 comments on commit c1bee40

Please sign in to comment.