17 lines
208 B
Vue
17 lines
208 B
Vue
|
<template>
|
||
|
<div>
|
||
|
<h1>ID is : {{id}}</h1>
|
||
|
<NuxtLink to="/">HOME</NuxtLink>
|
||
|
</div>
|
||
|
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
export default {
|
||
|
data(){
|
||
|
return {
|
||
|
id:this.$route.params.id
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
</script>
|