Skip to content
Permalink
Browse files

links

  • Loading branch information...
jeffreybiles committed Oct 13, 2019
1 parent cd4cc70 commit c847095a49bae8302116151fff8fed76106f4960
Showing with 8 additions and 2 deletions.
  1. +3 −0 pages/videos/_id/edit.vue
  2. +4 −1 pages/videos/_id/index.vue
  3. +1 −1 pages/videos/index.vue
@@ -1,6 +1,9 @@
<template>
<div>
<h1>Editing {{ video.name }} </h1>
<nuxt-link :to="`/videos/${video.id}`">
<button>Go back to show</button>
</nuxt-link>
</div>
</template>

@@ -1,6 +1,9 @@
<template>
<div>
We are in video {{ video.name }}
We are in video {{ video.name }}.
<nuxt-link :to="`/videos/${video.id}/edit`">
<button>Edit</button>
</nuxt-link>
</div>
</template>

@@ -3,7 +3,7 @@
<nuxt-child />
<h1>Videos</h1>
<div v-for="video in videos" :key="video.id">
{{ video.name }}
<nuxt-link :to="`/videos/${video.id}`">{{ video.name }}</nuxt-link>
</div>
</div>
</template>

0 comments on commit c847095

Please sign in to comment.
You can’t perform that action at this time.