mom-daily/src/router/index.js
2026-07-28 22:06:50 +08:00

15 lines
606 B
JavaScript

import { createRouter, createWebHashHistory } from 'vue-router'
const routes = [
{ path: '/', name: 'home', component: () => import('../views/Home.vue') },
{ path: '/calendar', name: 'calendar', component: () => import('../views/Calendar.vue') },
{ path: '/tracker', name: 'tracker', component: () => import('../views/Tracker.vue') },
{ path: '/reminder', name: 'reminder', component: () => import('../views/Reminder.vue') },
{ path: '/profile', name: 'profile', component: () => import('../views/Profile.vue') },
]
export default createRouter({
history: createWebHashHistory(),
routes,
})