Skip to content

Commit 88a955a

Browse files
Ajout vue ticket
1 parent bb3dc54 commit 88a955a

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

app/src/pages/ticket/[id].vue

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<template lang="pug">
2+
3+
</template>

0 commit comments

Comments
 (0)