// vue router的index
// import Vue from 'vue'
import { createWebHashHistory , createRouter } from 'vue-router'
import coffeeIndex from '@/components/coffeeIndex.vue'
import HelloWorld from '@/components/HelloWorld.vue'
// import MenuItem from '@/view/MenuItem.vue'

const router = createRouter({
    history: createWebHashHistory(),
    routes: [
        {
            path: '/',
            component: coffeeIndex,
        },
        { path: '/coffee', component: coffeeIndex },
        { path: '/hello', component: HelloWorld },
    ]
})
export default router

