From 84dee0de88acfe30006dd313e5c3945b5c879d37 Mon Sep 17 00:00:00 2001 From: SRP-mango Date: Sat, 12 Aug 2023 18:16:08 +0700 Subject: [PATCH] add destination-card --- src/components/DestinationInfoCard.vue | 75 ++++++++++++++++++++++++++ src/plugins/router.js | 1 + src/views/DestinationInfo.vue | 12 +++++ src/views/Favorite.vue | 5 +- 4 files changed, 92 insertions(+), 1 deletion(-) create mode 100644 src/components/DestinationInfoCard.vue create mode 100644 src/views/DestinationInfo.vue diff --git a/src/components/DestinationInfoCard.vue b/src/components/DestinationInfoCard.vue new file mode 100644 index 0000000..95d6bc1 --- /dev/null +++ b/src/components/DestinationInfoCard.vue @@ -0,0 +1,75 @@ + + + + + + \ No newline at end of file diff --git a/src/plugins/router.js b/src/plugins/router.js index 85a924e..c27a324 100644 --- a/src/plugins/router.js +++ b/src/plugins/router.js @@ -5,6 +5,7 @@ const routes = [ {path: '/about', name: 'about', component: () => import('@/views/About.vue')}, {path: '/favorite', name: 'favorite', component: () => import('@/views/Favorite.vue')}, {path: '/setting', name: 'setting', component: () => import('@/views/Setting.vue')}, + {path: '/destination-info', name: 'destination-info', component: () => import('@/views/DestinationInfo.vue')}, ] const router = createRouter({ routes, diff --git a/src/views/DestinationInfo.vue b/src/views/DestinationInfo.vue new file mode 100644 index 0000000..f9bd6e3 --- /dev/null +++ b/src/views/DestinationInfo.vue @@ -0,0 +1,12 @@ + + + + + + \ No newline at end of file diff --git a/src/views/Favorite.vue b/src/views/Favorite.vue index 8d05603..fd9281e 100644 --- a/src/views/Favorite.vue +++ b/src/views/Favorite.vue @@ -33,8 +33,10 @@ >