import { createRouter, createWebHistory } from 'vue-router'

import Home from '../views/Home.vue'
import Decks from '../views/Decks.vue'
import Pronunciation from '../views/Pronunciation.vue'
import Test from '../views/Test.vue'
import Toolkit from '../views/Toolkit.vue'

const router = createRouter({
  // https://router.vuejs.org/guide/
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    { path: '/', component: Home },
    { path: '/toolkit', component: Toolkit },
    { path: '/speak', component: Pronunciation },
    { path: '/decks', component: Decks },
    { path: '/test', component: Test },
  ],
})

export default router