mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-23 23:39:47 +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
|
|
});
|
|
}
|