dev-audioprocessing/pages/products/[id].vue

26 lines
348 B
Vue
Raw Normal View History

2022-12-11 23:55:43 +00:00
<template>
<div>
<h1>ID is : {{id}}</h1>
2023-02-27 16:51:33 +00:00
<NuxtLink to="/">{{t("HOME")}}</NuxtLink>
2022-12-11 23:55:43 +00:00
</div>
</template>
<script>
export default {
2023-02-27 16:51:33 +00:00
setup() {
const { t } = useI18n()
const localePath = useLocalePath()
return {
t,
localePath,
}
},
2022-12-11 23:55:43 +00:00
data(){
return {
id:this.$route.params.id
}
}
}
</script>