You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
396 B

2 years ago
import {createRouter, createWebHashHistory} from 'vue-router'
const routes = [
{
path: '/',
name: 'Home',
component: () => import('../views/Home.vue')
},
{
path: '/About',
name: 'About',
component: () => import('../views/About.vue')
},
]
const router = createRouter({history: createWebHashHistory(), routes})
export default router