fix: bring vue-global-api to the top
This commit is contained in:
parent
547bb7dbad
commit
c716813570
@ -1,3 +1,5 @@
|
||||
// register vue composition api globally
|
||||
import 'vue-global-api'
|
||||
import { ViteSSG } from 'vite-ssg'
|
||||
import generatedRoutes from 'virtual:generated-pages'
|
||||
import { setupLayouts } from 'virtual:generated-layouts'
|
||||
@ -10,13 +12,9 @@ import 'virtual:windi-components.css'
|
||||
import './styles/main.css'
|
||||
// windicss utilities should be the last style import
|
||||
import 'virtual:windi-utilities.css'
|
||||
|
||||
// windicss devtools support (dev only)
|
||||
import 'virtual:windi-devtools'
|
||||
|
||||
// register vue composition api globally
|
||||
import 'vue-global-api'
|
||||
|
||||
const routes = setupLayouts(generatedRoutes)
|
||||
|
||||
// https://github.com/antfu/vite-ssg
|
||||
|
Loading…
Reference in New Issue
Block a user