add route

Signed-off-by: nurRiyad <asadnurriyad@gmail.com>
This commit is contained in:
nurRiyad
2022-12-07 23:54:09 +06:00
parent bab42538c6
commit d39bbbd088
11 changed files with 1151 additions and 9 deletions

View File

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

7
pages/[topics]/index.vue Normal file
View File

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

5
pages/category.vue Normal file
View File

@@ -0,0 +1,5 @@
<template>
<div>
<h1 class="text-5xl">All the topic will be here</h1>
</div>
</template>

5
pages/latest.vue Normal file
View File

@@ -0,0 +1,5 @@
<template>
<div>
<p class="text-5xl">Latest Page</p>
</div>
</template>