chore: add Inspector(developer open vscode) (#3725)

This commit is contained in:
sea
2024-04-10 16:10:13 +08:00
committed by GitHub
parent 6054fa2ffa
commit c9966b1f13
3 changed files with 96 additions and 1 deletions

View File

@@ -1,4 +1,5 @@
import { defineApplicationConfig } from '@vben/vite-config';
import Inspector from 'vite-plugin-vue-inspector';
export default defineApplicationConfig({
overrides: {
@@ -36,5 +37,10 @@ export default defineApplicationConfig({
clientFiles: ['./index.html', './src/{views,components}/*'],
},
},
plugins: [
Inspector({
openInEditorHost: 'http://localhost:5173',
}),
],
},
});