UNPKG

vue-element3-search-table

Version:

```bash npm i vue-element3-search-table@latest --save ```

28 lines (25 loc) 607 B
import { createRouter, createWebHashHistory } from 'vue-router' const router = createRouter({ history: createWebHashHistory(), routes: [ { path: '/', component: () => import('../layout/index.vue'), children: [ { path: '/', component: () => import('../views/home.vue') }, { path: '/other', component: () => import('../views/other/index.vue') } ], }, { path: '/login', component: () => import('../views/login/index.vue') } ] }) export default router