import {
    createRouter,
    createWebHashHistory
} from "vue-router";


const router = createRouter({
    history: createWebHashHistory(),
    routes: [{
        path: "/",
        meta: {
            title: '《今日固始》电子版' //title配置
        },
        component: () => import("../view/home/index.vue")
    },{
        path: "/info",
        meta: {
            title: '《今日固始》电子版-详情' //title配置
        },
        component: () => import("../view/home/info.vue")
    },{
        path: "/list",
        meta: {
            title: '《今日固始》电子版-今日总览' //title配置
        },
        component: () => import("../view/home/list.vue")
    },{
        path: "/knowledge",
        meta: {
            title: '《今日固始》电子版-知识库' //title配置
        },
        component: () => import("../view/home/knowledge.vue")
    }
    ],
});

export default router
