Skip to content

Commit e7ce331

Browse files
authored
docs: add missing export line in router.js code block (#2547)
1 parent 6171856 commit e7ce331

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/docs/guide/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ const routes = [
6363
{ path: '/about', component: AboutView },
6464
]
6565

66-
const router = createRouter({
66+
export const router = createRouter({
6767
history: createMemoryHistory(),
6868
routes,
6969
})

0 commit comments

Comments
 (0)