Files
ai_dify_plat_ui/build/plugins/devtools.ts
cjh 988d77d16f
Some checks failed
Build and Deploy / build-and-deploy (push) Has been cancelled
initial commit
2026-06-01 16:24:47 +08:00

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
});
}