refactor: import setupLayouts from virtual module (#125)

As shown in the vite-plugin-vue readme
This commit is contained in:
Manuel Quarneti 2021-05-22 21:25:09 +02:00 committed by GitHub
parent b7222f4bed
commit 581aac3df1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
import { ViteSSG } from 'vite-ssg'
import generatedRoutes from 'virtual:generated-pages'
import { setupLayouts } from 'layouts-generated'
import { setupLayouts } from 'virtual:generated-layouts'
import App from './App.vue'
import 'virtual:windi.css'
import 'virtual:windi-devtools'