feat: add manual route

This commit is contained in:
Methapon2001 2025-03-17 12:45:45 +07:00
parent 6c669a6975
commit a313d5e965
3 changed files with 20 additions and 1 deletions

View file

@ -0,0 +1,5 @@
<script setup lang="ts"></script>
<template>
<div></div>
</template>

View file

@ -0,0 +1,5 @@
<script setup lang="ts"></script>
<template>
<div></div>
</template>

View file

@ -145,6 +145,16 @@ const routes: RouteRecordRaw[] = [
name: 'Notification',
component: () => import('pages/00_notification/MainPage.vue'),
},
{
path: '/manual/:category',
name: 'Manual',
component: () => import('pages/00_manual/MainPage.vue'),
},
{
path: '/manual/:category/:page',
name: 'ManualView',
component: () => import('pages/00_manual/ViewPage.vue'),
},
],
},
@ -223,7 +233,6 @@ const routes: RouteRecordRaw[] = [
name: 'DebitNoteDocumentView',
component: () => import('pages/12_debit-note/document-view/MainPage.vue'),
},
// Always leave this as last one,
// but you can also remove it
{