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.

23 lines
398 B

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