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