Skip to content

Instantly share code, notes, and snippets.

@lmiller1990
Created July 24, 2018 04:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lmiller1990/ea1f6fa220f42f21413721080358dc63 to your computer and use it in GitHub Desktop.
Save lmiller1990/ea1f6fa220f42f21413721080358dc63 to your computer and use it in GitHub Desktop.
<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