1import { createRouter, createWebHistory } from 'vue-router';
2import SignInView from '../views/auth/SignInView.vue';
3import SignUpView from '../views/auth/SignUpView.vue';
4import ForgotPasswordView from '../views/auth/forgotpwd/ForgotPasswordView.vue';
5import ResetPasswordView from '../views/auth/forgotpwd/ResetPasswordView.vue';
6import AreaPageAll from '../views/board/AreaPage-All.vue';
7import AppletDetails from '../views/tile-information/AppletDetails.vue';
8import ServiceDetails from '../views/tile-information/ServiceDetails.vue';
9import CreateApplet from '@/views/create/CreateApplet.vue';
10import DisplayAction from '@/views/create/DisplayAction.vue';
11import DisplayTrigger from '@/views/create/DisplayTrigger.vue';
12import MainPage from '@/views/main/MainPage.vue';
13import ProfilePage from '@/views/profil/AccountSetting.vue';
14import ChangePassword from '@/views/profil/ChangePassword.vue'
15import CallbackView from '@/views/auth/CallbackView.vue';
16import TriggerInformation from '@/views/create/TriggerInformation.vue';
17import ReactionInformation from '@/views/create/ActionInformation.vue';
20 { path: '/', name: 'MainPage', component: MainPage },
21 { path: '/sign-in', name: 'SignIn', component: SignInView },
22 { path: '/sign-up', name: 'SignUp', component: SignUpView },
23 { path: '/forgot-password', name: 'ForgotPassword', component: ForgotPasswordView },
24 { path: '/forgot-password/reset-password', name: 'ResetPassword', component: ResetPasswordView },
25 { path: '/callback', name: 'CallbackView', component: CallbackView },
26 { path: '/explore/applets', name: 'AreaExploreAll', component: AreaPageAll },
27 { path: '/applet/:title', name: 'AppletDetails', component: AppletDetails },
28 { path: '/service/:title', name: 'ServiceDetails', component: ServiceDetails },
29 { path: '/create', name: 'CreateApplet', component: CreateApplet },
30 { path: '/create/add-action', name: 'DisplayAction', component: DisplayAction },
31 { path: '/create/add-trigger', name: 'DisplayTrigger', component: DisplayTrigger },
32 { path: '/create/add-trigger/trigger-detail', name: 'TriggerInformation', component: TriggerInformation},
33 { path: '/create/add-action/reaction-detail', name: 'ReactionInformation', component: ReactionInformation},
34 { path: '/account', name: 'ProfilePage', component: ProfilePage },
35 { path: '/account/change-password', name: 'ChangePassword', component: ChangePassword },
38const router = createRouter({
39 history: createWebHistory(),