| 123456789101112131415161718192021222324252627282930313233 |
- import { createRouter, createWebHistory } from 'vue-router'
- const router = createRouter({
- history: createWebHistory(),
- routes: [
- {
- path: '/',
- redirect: '/dashboard',
- },
- {
- path: '/dashboard',
- name: 'dashboard',
- component: () => import('../views/Dashboard.vue'),
- },
- {
- path: '/compose',
- name: 'compose',
- component: () => import('../views/Compose.vue'),
- },
- {
- path: '/scheduler',
- name: 'scheduler',
- component: () => import('../views/Scheduler.vue'),
- },
- {
- path: '/settings',
- name: 'settings',
- component: () => import('../views/Settings.vue'),
- },
- ],
- })
- export default router
|