Skip to content

Commit

Permalink
docs: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
posva committed Feb 23, 2024
1 parent 381e13b commit b05b7d8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/guide/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@ const myOwnGenerateRouteName = (routeNode: TreeNode) => {
return 'ok'
}
import { isPackageExists as isPackageInstalled } from 'local-pkg'
function getFileBasedRouteName(routeNode: TreeNode) {
return 'ok'
}
// const process = { cwd: () => '' }
// ---cut---
// @moduleResolution: bundler
import VueRouter from 'unplugin-vue-router/vite'
import { getFileBasedRouteName } from 'unplugin-vue-router'

VueRouter({
// how and what folders to scan for files
Expand Down

0 comments on commit b05b7d8

Please sign in to comment.