import { createRouter, createWebHistory } from 'vue-router' export default createRouter({ history: createWebHistory(), routes: [ { path: '/login', component: () => import('./pages/login/index.vue'), }, { path: '/register', component: () => import('./pages/register/index.vue'), }, { path: '/password', component: () => import('./pages/password/index.vue'), }, { path: '/imei/:action', component: () => import('./pages/imei/index.vue'), props: true, }, ], })