Ngiler SH3LL 360
Home
Information
Create File
Create Folder
:
/
home
/
tbf
/
newweb.tbf.ro_simple
/
src
/
router
/
Information Server
MySQL :
OFF
Perl :
OFF
CURL :
ON
WGET :
OFF
PKEXEC :
OFF
Directive
Local Value
IP Address
89.40.16.97
System
Linux server.atelieruldeit.ro 3.10.0-1160.el7.x86_64 #1 SMP Mon Oct 19 16:18:59 UTC 2020 x86_64
User
tbf
PHP Version
7.3.33
Software
Apache
Doc root
Writable
close
Edit File :
index.js
| Size :
3.86
KB
Copy
import Vue from 'vue' import VueRouter from 'vue-router' import VueBodyClass from 'vue-body-class'; import TbfDigital from '../views/TbfDigital/Home.vue' import TbfDigitalPricing from '../views/TbfDigital/Pricing.vue' import TbfSystemsHome from '../views/TbfSystems/Home.vue' import TbfSystemsContact from '../views/TbfSystems/Contact.vue' import TbfSystemsContactSuccess from '../views/TbfSystems/Success.vue' import WebinarHome from '@/views/Webinar/Home.vue' import WebinarSuccess from '@/views/Webinar/Success.vue' import TbfHome from '../views/Tbf/Home.vue' import TbfDailyFundamentals from '../views/Tbf/DailyFundamentals.vue' import TbfShowDailyFundamental from '../views/Tbf/ShowDailyFundamental.vue' import TbfTerms from '../views/Tbf/Terms.vue' import TbfConfidential from '../views/Tbf/Confidential.vue' import TbfPodcasts from '../views/Tbf/Podcasts.vue' import NotFound from '@/views/NotFound' Vue.use(VueRouter) const routes = [ { path: '/', name: 'Home', component: TbfHome, meta: { bodyClass: 'tbf-website-body home', layout: 'tbf-template' }, }, { path: '/tbf-show-podcast', name: 'Podcasts', component: TbfPodcasts, meta: { bodyClass: 'tbf-website-body podcasts-list', layout: 'tbf-template' }, }, { path: '/termeni-si-conditii', name: 'Terms', component: TbfTerms, meta: { bodyClass: 'tbf-website-body show-article', layout: 'tbf-template' }, layout: false }, { path: '/politica-de-confidentialitate', name: 'Confidential', component: TbfConfidential, meta: { bodyClass: 'tbf-website-body show-article', layout: 'tbf-template' }, layout: false }, { path: '/categorie/fundamentul-zilei', name: 'DailyFundamentals', component: TbfDailyFundamentals, meta: { bodyClass: 'tbf-website-body daily-foundations-list', layout: 'tbf-template' }, }, { path: '/tbf-digital', name: 'tbf-digital', component: TbfDigital, meta: { bodyClass: 'tbf-digital-body', layout: 'landing-page-digital-template' } }, { path: '/tbf-digital/abonamente', name: 'pricing', component: TbfDigitalPricing, meta: { bodyClass: 'tbf-digital-body', layout: 'landing-page-digital-template' } }, { path: '/tbf-systems', name: 'tbf-systems-home', component: TbfSystemsHome, meta: { bodyClass: 'tbf-systems-body', layout: 'landing-page-tbf-systems-template' } }, { path: '/tbf-systems/contact', name: 'tbf-systems-contact', component: TbfSystemsContact, meta: { bodyClass: 'tbf-systems-body', layout: 'landing-page-tbf-systems-template' } }, { path: '/tbf-systems/contact/success', name: 'tbf-systems-contact-success', component: TbfSystemsContactSuccess, meta: { bodyClass: 'tbf-systems-body', layout: 'landing-page-tbf-systems-template' } }, { path: '/webinar-management', name: 'webinar-management-home', component: WebinarHome, meta: { bodyClass: 'tbf-webinar-body', layout: 'landing-page-webinar-template' } }, { path: '/webinar-management/success', name: 'webinar-management-success', component: WebinarSuccess, meta: { bodyClass: 'tbf-webinar-body', layout: 'landing-page-webinar-template' } }, { path: '/404', name: 'page-404', component: NotFound, meta: { bodyClass: 'tbf-website-body not-found-body', auth: true, layout: 'not-found-template' }}, { path: '/:slug', name: 'ShowDailyFundamental', component: TbfShowDailyFundamental, meta: { bodyClass: 'tbf-website-body show-article', layout: 'tbf-template' }, layout: false }, { path: '*', redirect: { name: 'page-404' }}, ] const vueBodyClass = new VueBodyClass(routes); const router = new VueRouter({ mode: 'history', base: process.env.BASE_URL, routes, scrollBehavior (to, from, savedPosition) { return { x: 0, y: 0 } } }) router.beforeEach((to, from, next) => { vueBodyClass.guard(to, next) }); export default router
Back