You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
986 B
JavaScript
45 lines
986 B
JavaScript
import { createRouter, createWebHistory } from 'vue-router'
|
|
import HomeView from "@/views/HomeView.vue";
|
|
import CoreTechnology from "@/views/CoreTechnology.vue";
|
|
import ProductDisplay from "@/views/ProductDisplay.vue";
|
|
import ServiceExchange from "@/views/ServiceExchange.vue";
|
|
import AboutUs from "@/views/AboutUs.vue";
|
|
|
|
const router = createRouter({
|
|
history: createWebHistory(import.meta.env.BASE_URL),
|
|
routes: [
|
|
{
|
|
path:'/',
|
|
name:'home',
|
|
component:HomeView
|
|
},
|
|
{
|
|
path:'/technology',
|
|
name:'technology',
|
|
component:CoreTechnology
|
|
},
|
|
{
|
|
path:'/product',
|
|
name:'product',
|
|
component:ProductDisplay
|
|
},
|
|
{
|
|
path:'/service',
|
|
name:'service',
|
|
component:ServiceExchange
|
|
},
|
|
{
|
|
path:'/about',
|
|
name:'about',
|
|
component:AboutUs
|
|
},
|
|
{
|
|
path:'/search',
|
|
name:'search',
|
|
component:()=>import('@/views/SearchResults.vue')
|
|
}
|
|
],
|
|
})
|
|
|
|
export default router
|