import type { RouteRecordRaw } from "vue-router";

const routes: Array<RouteRecordRaw> = [
    {
        path: "/login",
        name: "Login",
        component: () => import("../views/Login/index.vue"),
        meta: { no_login: true },
    },
    {
        path: "/",
        name: "Home",
        component: () => import("../views/Home/index.vue"),
        meta: { no_login: false },
    },
    {
        path: "/live",
        name: "Live",
        component: () => import("../views/Live/index.vue"),
        meta: { no_login: true },
    },
    {
        path: "/install",
        name: "Install",
        component: () => import("../views/Install/index.vue"),
        meta: { no_login: true },
    },
];

export default routes;
