-
-
Save lmiller1990/ea1f6fa220f42f21413721080358dc63 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div>Nested Route</div> | |
</template> | |
<script> | |
export default { | |
name: "NestedRoute" | |
} | |
</script> | |
`` | |
### Creating the Router and Routes | |
Now we need some routes to test. Let's start with the routes: | |
```js | |
import NestedRoute from "@/components/NestedRoute.vue" | |
export default [ | |
{ path: "/nested-route", component: NestedRoute } | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment