chore: init read-star monorepo
This commit is contained in:
9
apps/admin/build/plugins/devtools.ts
Normal file
9
apps/admin/build/plugins/devtools.ts
Normal file
@ -0,0 +1,9 @@
|
||||
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,
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user