import { createRouter, createWebHistory } from 'vue-router';
const routes = [{
        path: '/',
        component: () => import('../views/home-page.vue'),
        meta: {
            title: 'Appexy - Landing Page Template'
        }
    },
    {
        path: '/landing/index-1',
        component: () => import('../views/index1.vue'),
        meta: {
            title: 'Appexy - Responsive Bootstrap 5 Landing Page Template'
        }
    },
    {
        path: '/landing/index-2',
        component: () => import('../views/index2.vue'),
        meta: {
            title: 'Appexy - Responsive Bootstrap 5 Landing Page Template'
        }
    },
    {
        path: '/landing/index-3',
        component: () => import('../views/index3.vue'),
        meta: {
            title: 'Appexy - Responsive Bootstrap 5 Landing Page Template'
        }
    },
    {
        path: '/landing/index-4',
        component: () => import('../views/index4.vue'),
        meta: {
            title: 'Appexy - Responsive Bootstrap 5 Landing Page Template'
        }
    },
    {
        path: '/landing/index-5',
        component: () => import('../views/index5.vue'),
        meta: {
            title: 'Appexy - Responsive Bootstrap 5 Landing Page Template'
        }
    },
    {
        path: '/landing/index-6',
        component: () => import('../views/index6.vue'),
        meta: {
            title: 'Appexy - Responsive Bootstrap 5 Landing Page Template'
        }
    },
];
const router = createRouter({
    history: createWebHistory(),
    routes,
});
router.beforeEach((to, from, next) => {
    const title = to.meta.title;
    document.title = title;
    next();
});
export default router;
