|  |  |  | 
|---|
|  |  |  | import HomeView from '../views/PlatformCall.vue' | 
|---|
|  |  |  |  | 
|---|
|  |  |  | const router = createRouter({ | 
|---|
|  |  |  | history: createWebHashHistory(import.meta.env.BASE_URL), | 
|---|
|  |  |  | history: createWebHashHistory(), | 
|---|
|  |  |  | routes: [ | 
|---|
|  |  |  | { | 
|---|
|  |  |  | path: '/', | 
|---|
|  |  |  | // name: 'EnergyConsum', | 
|---|
|  |  |  | component: () => import('../views/EnergyConsum.vue') | 
|---|
|  |  |  | component: () => import('../views/LogisticsEfficiency.vue') | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | { | 
|---|
|  |  |  | path: '/PlatformCall', | 
|---|
|  |  |  | 
|---|
|  |  |  | name: 'EnergyConsum', | 
|---|
|  |  |  | component: () => import('../views/EnergyConsum.vue') | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | { | 
|---|
|  |  |  | path: '/LogisticsControl', | 
|---|
|  |  |  | name: 'LogisticsControl', | 
|---|
|  |  |  | component: () => import('../views/LogisticsEfficiency.vue') | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | { | 
|---|
|  |  |  | path: '/SecurityControl', | 
|---|
|  |  |  | name: 'SecurityControl', | 
|---|
|  |  |  | component: () => import('../views/SecurityControl.vue') | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | ] | 
|---|
|  |  |  | }) | 
|---|
|  |  |  |  | 
|---|