import Vue from 'vue' import Router from 'vue-router' // import Navbar from '@/components/Navbar' Vue.use(Router) export default new Router({ routes: [ { path: '/', name: 'FristPage', component: () => import('@/views/FirstPage/FirstPage') }, { path: '/About', name: 'About', component: () => import('@/views/About/About.vue'), children: [{ path: 'Introduction', name: 'Introduction', component: () => import('@/views/About/Children/Introduction.vue') }] }, { path: '/Policy', name: 'Policy', component: () => import('@/views/Policy/Policy.vue') }, { path: '/Innovate', name: 'Innovate', component: () => import('@/views/Innovate/Innovate.vue') }, { path: '/Hatch', name: 'Hatch', component: () => import('@/views/Hatch/Hatch.vue') }, { path: '/Industry', name: 'Industry', component: () => import('@/views/Industry/Industry.vue') }, { path: '/Challenge', name: 'Challenge', component: () => import('@/views/Challenge/Challenge.vue') }, { path: '/Contact', name: 'Contact', component: () => import('@/views/Contact/Contact.vue') }, { path: '/Login', name: 'Login', component: () => import('@/views/Login/Login.vue') }, { path: '/Demand', name: 'Demand', component: () => import('@/views/Demand/Demand.vue') } ] })