mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-09-18 01:36:37 +08:00
10 lines
245 B
TypeScript
10 lines
245 B
TypeScript
import VueDevtools from 'vite-plugin-vue-devtools';
|
|
|
|
export function setupDevtoolsPlugin(viteEnv: Env.ImportMeta) {
|
|
const { VITE_DEVTOOLS_LAUNCH_EDITOR } = viteEnv;
|
|
|
|
return VueDevtools({
|
|
launchEditor: VITE_DEVTOOLS_LAUNCH_EDITOR
|
|
});
|
|
}
|