import Login from "../views/Login.vue";
import LoginOpen from "../views/LoginOpen.vue";
import Component404 from "../views/Component404.vue";
export default [
  {
    path: "/",
    name: "Root",
    meta: { pageName: "首页" },
    component: Login,
  },
  {
    path: "/login",
    name: "Login",
    component: Login,
  },
  {
    path: "/login-open",
    name: "LoginOpen",
    component: LoginOpen,
  },
  {
    // will match everything
    path: "*",
    name: "NotFound",
    component: Component404,
  },
  // {
  //   path: "/about",
  //   name: "about",
  //   // route level code-splitting
  //   // this generates a separate chunk (about.[hash].js) for this route
  //   // which is lazy-loaded when the route is visited.
  //   component: () =>
  //     import(/* webpackChunkName: "about" */ "./views/About.vue")
  // }
];
