diff --git a/docs/1.getting-started/5.routing.md b/docs/1.getting-started/5.routing.md index d5b2bd754f..37b1e272d1 100644 --- a/docs/1.getting-started/5.routing.md +++ b/docs/1.getting-started/5.routing.md @@ -17,6 +17,7 @@ This file system routing uses naming conventions to create dynamic and nested ro ```text [pages/ directory] pages/ --| about.vue +--| index.vue --| posts/ ----| [id].vue ``` @@ -28,6 +29,10 @@ pages/ "path": "/about", "component": "pages/about.vue" }, + { + "path": "/", + "component": "pages/index.vue" + }, { "path": "/posts/:id", "component": "pages/posts/[id].vue"