![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/ts.corals.io/frontend/.nuxt/ |
import Vue from 'vue' import Router from 'vue-router' import { normalizeURL, decode } from 'ufo' import { interopDefault } from './utils' import scrollBehavior from './router.scrollBehavior.js' const _2ebb07c0 = () => interopDefault(import('../pages/clients.vue' /* webpackChunkName: "pages/clients" */)) const _0292be43 = () => interopDefault(import('../pages/clients/index.vue' /* webpackChunkName: "pages/clients/index" */)) const _6075d0f9 = () => interopDefault(import('../pages/clients/_clientid/index.vue' /* webpackChunkName: "pages/clients/_clientid/index" */)) const _e429e1de = () => interopDefault(import('../pages/clients/_clientid/projects/_projectid.vue' /* webpackChunkName: "pages/clients/_clientid/projects/_projectid" */)) const _73e4fe4c = () => interopDefault(import('../pages/dashboard.vue' /* webpackChunkName: "pages/dashboard" */)) const _7740fb70 = () => interopDefault(import('../pages/entries.vue' /* webpackChunkName: "pages/entries" */)) const _d7cf7944 = () => interopDefault(import('../pages/invoices.vue' /* webpackChunkName: "pages/invoices" */)) const _41566a0d = () => interopDefault(import('../pages/invoices/_invoiceid/index.vue' /* webpackChunkName: "pages/invoices/_invoiceid/index" */)) const _850bbebe = () => interopDefault(import('../pages/login.vue' /* webpackChunkName: "pages/login" */)) const _42a152e1 = () => interopDefault(import('../pages/profile.vue' /* webpackChunkName: "pages/profile" */)) const _2fc81246 = () => interopDefault(import('../pages/tasks.vue' /* webpackChunkName: "pages/tasks" */)) const _393c57c0 = () => interopDefault(import('../pages/users.vue' /* webpackChunkName: "pages/users" */)) const _5ad80e43 = () => interopDefault(import('../pages/users/index.vue' /* webpackChunkName: "pages/users/index" */)) const _128b86f9 = () => interopDefault(import('../pages/users/_userid/index.vue' /* webpackChunkName: "pages/users/_userid/index" */)) const _61239ac0 = () => interopDefault(import('../pages/password/email.vue' /* webpackChunkName: "pages/password/email" */)) const _7683ab66 = () => interopDefault(import('../pages/password/reset/_token.vue' /* webpackChunkName: "pages/password/reset/_token" */)) const _185b04ec = () => interopDefault(import('../pages/index.vue' /* webpackChunkName: "pages/index" */)) const emptyFn = () => {} Vue.use(Router) export const routerOptions = { mode: 'history', base: '/', linkActiveClass: 'nuxt-link-active', linkExactActiveClass: 'nuxt-link-exact-active', scrollBehavior, routes: [{ path: "/clients", component: _2ebb07c0, children: [{ path: "", component: _0292be43, name: "clients" }, { path: ":clientid", component: _6075d0f9, name: "clients-clientid" }, { path: ":clientid/projects/:projectid?", component: _e429e1de, name: "clients-clientid-projects-projectid" }] }, { path: "/dashboard", component: _73e4fe4c, name: "dashboard" }, { path: "/entries", component: _7740fb70, name: "entries" }, { path: "/invoices", component: _d7cf7944, name: "invoices", children: [{ path: ":invoiceid", component: _41566a0d, name: "invoices-invoiceid" }] }, { path: "/login", component: _850bbebe, name: "login" }, { path: "/profile", component: _42a152e1, name: "profile" }, { path: "/tasks", component: _2fc81246, name: "tasks" }, { path: "/users", component: _393c57c0, children: [{ path: "", component: _5ad80e43, name: "users" }, { path: ":userid", component: _128b86f9, name: "users-userid" }] }, { path: "/password/email", component: _61239ac0, name: "password-email" }, { path: "/password/reset/:token?", component: _7683ab66, name: "password-reset-token" }, { path: "/", component: _185b04ec, name: "index" }], fallback: false } export function createRouter (ssrContext, config) { const base = (config._app && config._app.basePath) || routerOptions.base const router = new Router({ ...routerOptions, base }) // TODO: remove in Nuxt 3 const originalPush = router.push router.push = function push (location, onComplete = emptyFn, onAbort) { return originalPush.call(this, location, onComplete, onAbort) } const resolve = router.resolve.bind(router) router.resolve = (to, current, append) => { if (typeof to === 'string') { to = normalizeURL(to) } return resolve(to, current, append) } return router }