add route

Signed-off-by: nurRiyad <asadnurriyad@gmail.com>
This commit is contained in:
nurRiyad
2022-12-08 00:50:25 +06:00
parent d39bbbd088
commit ecd5ccc351
5 changed files with 7 additions and 15 deletions

5
pages/[...slug].vue Normal file
View File

@@ -0,0 +1,5 @@
<template>
<main>
<ContentDoc />
</main>
</template>

View File

@@ -1,8 +0,0 @@
<template>
<div>
<h1 class="text-5xl">
post name {{ $route.params.post }} of topic
{{ $route.params.topics }} will be here
</h1>
</div>
</template>

View File

@@ -1,7 +0,0 @@
<template>
<div>
<h1 class="text-5xl">
All the post related to {{ $route.params.topics }} will be here
</h1>
</div>
</template>