| Server IP : 185.208.173.17 / Your IP : 87.236.161.98 Web Server : Microsoft-IIS/10.0 System : Windows NT SRV8576125506 10.0 build 26100 (Windows Server 2016) AMD64 User : IUSR ( 0) PHP Version : 7.4.13 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/inetpub/wwwroot/parsmega.nuxt/.nuxt/ |
Upload File : |
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 _2a52af78 = () => interopDefault(import('..\\pages\\about-us\\index.vue' /* webpackChunkName: "pages/about-us/index" */))
const _1d25db48 = () => interopDefault(import('..\\pages\\agents\\index.vue' /* webpackChunkName: "pages/agents/index" */))
const _29bde8b9 = () => interopDefault(import('..\\pages\\articles\\index.vue' /* webpackChunkName: "pages/articles/index" */))
const _a55f506a = () => interopDefault(import('..\\pages\\contact-us\\index.vue' /* webpackChunkName: "pages/contact-us/index" */))
const _cc0c94d4 = () => interopDefault(import('..\\pages\\index.vue' /* webpackChunkName: "pages/index" */))
const _d444899c = () => interopDefault(import('..\\pages\\products\\index.vue' /* webpackChunkName: "pages/products/index" */))
const _4da79751 = () => interopDefault(import('..\\pages\\articles\\post\\_slug\\index.vue' /* webpackChunkName: "pages/articles/post/_slug/index" */))
const _94050354 = () => interopDefault(import('..\\pages\\products\\category\\_slug\\index.vue' /* webpackChunkName: "pages/products/category/_slug/index" */))
const _94ffc150 = () => interopDefault(import('..\\pages\\products\\_slug\\index.vue' /* webpackChunkName: "pages/products/_slug/index" */))
const emptyFn = () => {}
Vue.use(Router)
export const routerOptions = {
mode: 'history',
base: '/',
linkActiveClass: 'nuxt-link-active',
linkExactActiveClass: 'nuxt-link-exact-active',
scrollBehavior,
routes: [{
path: "/about-us",
component: _2a52af78,
name: "about-us___fa"
}, {
path: "/agents",
component: _1d25db48,
name: "agents___fa"
}, {
path: "/articles",
component: _29bde8b9,
name: "articles___fa"
}, {
path: "/contact-us",
component: _a55f506a,
name: "contact-us___fa"
}, {
path: "/en",
component: _cc0c94d4,
name: "index___en"
}, {
path: "/products",
component: _d444899c,
name: "products___fa"
}, {
path: "/en/about-us",
component: _2a52af78,
name: "about-us___en"
}, {
path: "/en/agents",
component: _1d25db48,
name: "agents___en"
}, {
path: "/en/articles",
component: _29bde8b9,
name: "articles___en"
}, {
path: "/en/contact-us",
component: _a55f506a,
name: "contact-us___en"
}, {
path: "/en/products",
component: _d444899c,
name: "products___en"
}, {
path: "/",
component: _cc0c94d4,
name: "index___fa"
}, {
path: "/en/articles/post/:slug",
component: _4da79751,
name: "articles-post-slug___en"
}, {
path: "/en/products/category/:slug",
component: _94050354,
name: "products-category-slug___en"
}, {
path: "/articles/post/:slug",
component: _4da79751,
name: "articles-post-slug___fa"
}, {
path: "/en/products/:slug",
component: _94ffc150,
name: "products-slug___en"
}, {
path: "/products/category/:slug",
component: _94050354,
name: "products-category-slug___fa"
}, {
path: "/products/:slug",
component: _94ffc150,
name: "products-slug___fa"
}],
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
}