feat: support layouts (#56)
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
This commit is contained in:
1 parent
8dae6f96e5
commit
83225032d0
12 files changed
+97
-13
No files matched your search
+4
-1
@@ -1,8 +1,11 @@
|
||||
import './styles/main.postcss'
|
||||
import routes from 'pages-generated'
|
||||
import { ViteSSG } from 'vite-ssg'
|
||||
import generatedRoutes from 'pages-generated'
|
||||
import { setupLayouts } from 'layouts-generated'
|
||||
import App from './App.vue'
|
||||
|
||||
const routes = setupLayouts(generatedRoutes)
|
||||
|
||||
// https://github.com/antfu/vite-ssg
|
||||
export const createApp = ViteSSG(
|
||||
App,
|
||||
|
||||
Reference in new issue
Block a user