import { createRouter, createWebHashHistory } from 'vue-router'
import App from '../App.vue'
import ApiConfig from '../components/ApiConfig.vue'

const routes = [
  {
    path: '/',
    name: 'home',
    component: App
  },
  {
    path: '/config',
    name: 'config',
    component: ApiConfig
  }
]

const router = createRouter({
  history: createWebHashHistory(),
  routes
})

export default router 