From 3552a1174e184daaef26e2f91a858e511c60a931 Mon Sep 17 00:00:00 2001 From: Kar Date: Thu, 3 Nov 2022 21:11:29 +0530 Subject: [PATCH] notice --- index.html | 4 ++-- src/pages/notice/[id].vue | 39 +++++++++++++++++++++++++++++++++++++ src/pages/notice/index.vue | 40 ++++++++++++++++++++++++++++++++++++++ typed-router.d.ts | 2 ++ 4 files changed, 83 insertions(+), 2 deletions(-) create mode 100644 src/pages/notice/[id].vue create mode 100644 src/pages/notice/index.vue diff --git a/index.html b/index.html index 67278ea..364212b 100644 --- a/index.html +++ b/index.html @@ -4,13 +4,13 @@ Vite, Vue3, Tailwind CSS - + /> --> diff --git a/src/pages/notice/[id].vue b/src/pages/notice/[id].vue new file mode 100644 index 0000000..ddeb773 --- /dev/null +++ b/src/pages/notice/[id].vue @@ -0,0 +1,39 @@ + + + \ No newline at end of file diff --git a/src/pages/notice/index.vue b/src/pages/notice/index.vue new file mode 100644 index 0000000..0c4df38 --- /dev/null +++ b/src/pages/notice/index.vue @@ -0,0 +1,40 @@ + + + \ No newline at end of file diff --git a/typed-router.d.ts b/typed-router.d.ts index f52f4e9..a8345a6 100644 --- a/typed-router.d.ts +++ b/typed-router.d.ts @@ -41,6 +41,8 @@ declare module 'vue-router/auto/routes' { '/about': RouteRecordInfo<'/about', '/about', Record, Record>, '/gallery': RouteRecordInfo<'/gallery', '/gallery', Record, Record>, '/index2': RouteRecordInfo<'/index2', '/index2', Record, Record>, + '/notice/': RouteRecordInfo<'/notice/', '/notice', Record, Record>, + '/notice/[id]': RouteRecordInfo<'/notice/[id]', '/notice/:id', { id: ParamValue }, { id: ParamValue }>, '/temp/google': RouteRecordInfo<'/temp/google', '/temp/google', Record, Record>, } }