import Form from "./components/form.vue";
export const routes = [{ path: "/", component: Form, name: "form" }];

// const isAuthenticated = function() {
//     if (window.localStorage.pcpumaT) {
//         return true
//     }
//     return false
// }

// router.beforeEach((to, from, next) => {
//     if (!isAuthenticated() && to.path !== '/login') {
//         return next('/login')
//     }
//     if (isAuthenticated() && to.path === '/login') {
//         return next('/')
//     }
//     next()
// })
