text: import Vue from 'vue'
  import Router from 'vue-router'
  import Home from './views/Home.vue'
  import Login from './views/Login.vue'
  import Signup from './views/Signup.vue'
  import ViewExpense from './views/ViewExpense.vue'
  
  
  Vue.use(Router)
  
  export default new Router({
    mode: 'history',
    base: process.env.BASE_URL,
    routes: [
      {
        path: '*',
        redirect: '/login'
      },
      {
        path: '/',
        redirect: '/login'
      },
      {
        path: '/home',
        name: 'home',
        component: Home
      },
      {
        path: '/about',
        name: 'about',
        component: () => import(/* webpackChunkName: "about" */ './views/About.vue')
      },
      {
        path: '/login',
        name: 'Login',
        component: Login
      },
      {
        path: '/signup',
        name: 'Signup',
        component: Signup
      },
      {
        path: '/view-expense',
        name: 'ViewExpense',
        component: ViewExpense,
      }
    ]
  })
  