| 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/node_modules/.cache/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 _132a657c = () => interopDefault(import('..\\..\\..\\pages\\about-us\\index.vue' /* webpackChunkName: "pages/about-us/index" */))
const _12959ebd = () => interopDefault(import('..\\..\\..\\pages\\articles\\index.vue' /* webpackChunkName: "pages/articles/index" */))
const _81dac662 = () => interopDefault(import('..\\..\\..\\pages\\contact-us\\index.vue' /* webpackChunkName: "pages/contact-us/index" */))
const _ed4f3ecc = () => interopDefault(import('..\\..\\..\\pages\\index.vue' /* webpackChunkName: "pages/index" */))
const _7eb57136 = () => interopDefault(import('..\\..\\..\\pages\\products\\index.vue' /* webpackChunkName: "pages/products/index" */))
const _22027066 = () => interopDefault(import('..\\..\\..\\pages\\articles\\post\\_slug\\index.vue' /* webpackChunkName: "pages/articles/post/_slug/index" */))
const _7f1010d2 = () => interopDefault(import('..\\..\\..\\pages\\products\\category\\_slug\\index.vue' /* webpackChunkName: "pages/products/category/_slug/index" */))
const _32345cd4 = () => 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: _132a657c,
name: "about-us___fa"
}, {
path: "/articles",
component: _12959ebd,
name: "articles___fa"
}, {
path: "/contact-us",
component: _81dac662,
name: "contact-us___fa"
}, {
path: "/en",
component: _ed4f3ecc,
name: "index___en"
}, {
path: "/products",
component: _7eb57136,
name: "products___fa"
}, {
path: "/en/about-us",
component: _132a657c,
name: "about-us___en"
}, {
path: "/en/articles",
component: _12959ebd,
name: "articles___en"
}, {
path: "/en/contact-us",
component: _81dac662,
name: "contact-us___en"
}, {
path: "/en/products",
component: _7eb57136,
name: "products___en"
}, {
path: "/en/articles/post/:slug",
component: _22027066,
name: "articles-post-slug___en"
}, {
path: "/en/products/category/:slug",
component: _7f1010d2,
name: "products-category-slug___en"
}, {
path: "/articles/post/:slug",
component: _22027066,
name: "articles-post-slug___fa"
}, {
path: "/en/products/:slug",
component: _32345cd4,
name: "products-slug___en"
}, {
path: "/products/category/:slug",
component: _7f1010d2,
name: "products-category-slug___fa"
}, {
path: "/products/:slug",
component: _32345cd4,
name: "products-slug___fa"
}, {
path: "/",
component: _ed4f3ecc,
name: "index___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
}