<template>
  <div>
    <h1>ID is : {{id}}</h1>
    <NuxtLink to="/">HOME</NuxtLink>
  </div>

</template>

<script>
export default {
  data(){
    return {
      id:this.$route.params.id
    }
  }
}
</script>