Skip to content

Commit 9d48a9b

Browse files
committed
Added missing $ symbol for route
1 parent f1fb3fd commit 9d48a9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1391,7 +1391,7 @@ List of 300 VueJS Interview Questions
13911391
Let's take a user component with the mapped URLs like `/user/john/post/123` and `/user/jack/post/235` using dynamic segments,
13921392
```javascript
13931393
const User = {
1394-
template: '<div>User {{ $route.params.name }}, PostId: {{ route.params.postid }}</div>'
1394+
template: '<div>User {{ $route.params.name }}, PostId: {{ $route.params.postid }}</div>'
13951395
}
13961396
13971397
const router = new VueRouter({

0 commit comments

Comments
 (0)