Skip to content

Commit 3b8f148

Browse files
committed
fix basic example
1 parent ae4187c commit 3b8f148

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

example/basic/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
<h1>Hello App!</h1>
1818
<p>
1919
<!-- use v-link directive for navigation. -->
20-
<a v-link="/foo">Go to Foo</a>
21-
<a v-link="/bar">Go to Bar</a>
20+
<a v-link="{ path: '/foo' }">Go to Foo</a>
21+
<a v-link="{ path: '/bar' }">Go to Bar</a>
2222
</p>
2323
<!-- use router-view element as route outlet -->
2424
<router-view></router-view>

0 commit comments

Comments
 (0)