import Vue from "vue";
import VueRouter from "vue-router";

Vue.use(VueRouter);

const routes = [{
  path: '/',
  redirect: '/construction',
},
{
  path: '/reconnaissance',
  name: 'reconnaissance',
  component: () => import('../views/reconnaissance/index.vue')
},
{
  path: '/construction',
  name: 'construction',
  component: () => import('../views/construction/index.vue')
},
{
  path: '/fundSituation',
  name: 'fundSituation',
  component: () => import('../views/fundSituation/index.vue')
}
];

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

export default router;