File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- import type { App , Plugin } from 'vue'
2- import { setUidGenerator } from './debug'
3- import { setupComposableDevtools } from './devtools'
4- import { PluginOptions } from './types'
1+ import { plugin } from './plugin'
52
63export { debug } from './debug'
74
8- const plugin : Plugin < [ PluginOptions ?] > = {
9- install : ( app : App , options ?: PluginOptions ) => {
10- if ( ! import . meta. env ?. DEV ) return
11- if ( options ?. uidFn ) setUidGenerator ( options . uidFn )
12- setupComposableDevtools ( app )
13- } ,
14- }
15-
16- export { plugin as DebugPlugin }
5+ export { plugin as DebugPlugin , plugin as Vuebugger }
176export default plugin
Original file line number Diff line number Diff line change 1+ import type { App , Plugin } from 'vue'
2+ import { setUidGenerator } from './debug'
3+ import { setupComposableDevtools } from './devtools'
4+ import type { PluginOptions } from './types'
5+
6+ export const plugin : Plugin < [ PluginOptions ?] > = {
7+ install : ( app : App , options ?: PluginOptions ) => {
8+ if ( ! import . meta. env ?. DEV ) return
9+ if ( options ?. uidFn ) setUidGenerator ( options . uidFn )
10+ setupComposableDevtools ( app )
11+ } ,
12+ }
You can’t perform that action at this time.
0 commit comments