We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb3dc54 commit 88a955aCopy full SHA for 88a955a
app/src/pages/ticket/[id].vue
@@ -0,0 +1,15 @@
1
+<template lang="pug">
2
+
3
+</template>
4
5
+<script lang="ts" setup>
6
+import { ref, onMounted } from 'vue'
7
+import { useRoute } from 'nuxt/app';
8
9
+const route = useRoute()
10
+const id = ref<string>('')
11
12
+onMounted(() => {
13
+ id.value = route.params.id
14
+})
15
+</script>
app/src/pages/ticket/index.vue
@@ -0,0 +1,3 @@
0 commit comments