import Vue from 'vue'
import VueRouter from 'vue-router'
import HomeView from '../views/home/home.vue'
import residentAnalysis from '@/views/residentAnalysis/index.vue'

Vue.use(VueRouter)

const routes = [
  // {
  //   path: '/home',
  //   name: 'home',
  //   component: HomeView,
  // },
  {
    path: '/',
    name: 'residentAnalysis',
    component: residentAnalysis,
  },
]

const router = new VueRouter({
  mode: 'hash',
  base: process.env.BASE_URL,
  routes,
})

export default router
