You've already forked php-auth
generated from siteworxpro/Php-Template
Basics of auth
This commit is contained in:
15
front-end/src/router/index.ts
Normal file
15
front-end/src/router/index.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
import { createWebHashHistory, createRouter } from 'vue-router'
|
||||
|
||||
const routes = [
|
||||
{ path: '/', component: () => import('../pages/login.vue') },
|
||||
{ path: '/error', component: () => import('../pages/error.vue') },
|
||||
{ path: '/password-reset', component: () => import('../pages/password-reset.vue') },
|
||||
{ path: '/update-password', component: () => import('../pages/update-password.vue') },
|
||||
]
|
||||
|
||||
const router = createRouter({
|
||||
history: createWebHashHistory(),
|
||||
routes,
|
||||
})
|
||||
|
||||
export default router
|
||||
Reference in New Issue
Block a user