Skip to content

Commit

Permalink
docs: vite-plugin-pages
Browse files Browse the repository at this point in the history
closes #53
  • Loading branch information
JohnCampionJr committed Dec 5, 2023
1 parent 1cead57 commit 2591b2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ In main.ts, you need to add a few lines to import the generated code and setup t
```js
import { createRouter } from 'vue-router'
import { setupLayouts } from 'virtual:generated-layouts'
import generatedRoutes from 'virtual:generated-pages'
import generatedRoutes from '~pages'

const routes = setupLayouts(generatedRoutes)

Expand Down

0 comments on commit 2591b2c

Please sign in to comment.