valaxy 0.18.0-beta.2 → 0.18.0-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/client/main.ts CHANGED
@@ -20,7 +20,7 @@ import '/@valaxyjs/styles'
20
20
  import 'uno.css'
21
21
 
22
22
  import setupMain from './setup/main'
23
- import { initDevToolsClientLogic } from './utils/dev'
23
+ import { setupValaxyDevTools } from './utils/dev'
24
24
 
25
25
  const valaxyConfig = initValaxyConfig()
26
26
 
@@ -60,7 +60,7 @@ const routesWithLayout = setupLayouts(import.meta.env.DEV
60
60
  )
61
61
 
62
62
  if (import.meta.env.DEV)
63
- initDevToolsClientLogic()
63
+ setupValaxyDevTools()
64
64
 
65
65
  // https://github.com/antfu/vite-ssg
66
66
  export const createApp = ViteSSG(
@@ -14,6 +14,7 @@ import type { ComputedRef } from 'vue'
14
14
  // https://github.com/microsoft/TypeScript/issues/42873
15
15
  import type { DefaultTheme, ValaxyConfig } from 'valaxy/types'
16
16
 
17
+ import consola from 'consola'
17
18
  import { install as installValaxy } from '../modules/valaxy'
18
19
  import { install as installPinia } from '../modules/pinia'
19
20
  import { install as installNprogress } from '../modules/nprogress'
@@ -40,6 +41,7 @@ export default function setupMain(ctx: ViteSSGContext, config: ComputedRef<Valax
40
41
  import('../modules/devtools').then(({ install: installDevtools }) => {
41
42
  setTimeout(() => {
42
43
  installDevtools(ctx)
44
+ consola.success('Valaxy Devtools installed')
43
45
  }, 0)
44
46
  })
45
47
  }
@@ -1,4 +1,4 @@
1
- export function initDevToolsClientLogic() {
1
+ export function setupValaxyDevTools() {
2
2
 
3
3
  }
4
4