text: import Vue from 'vue';
  import Router from 'vue-router';
  
  import Layout from '@/components/Layout/Layout';
  
  // Pages
  import Dashboard from '@/pages/Dashboard/Dashboard';
  import Typography from '@/pages/Typography/Typography'
  import Tables from '@/pages/Tables/Basic'
  import Notifications from '@/pages/Notifications/Notifications'
  import Icons from '@/pages/Icons/Icons'
  import Charts from '@/pages/Charts/Charts'
  import Maps from '@/pages/Maps/Google'
  import Error from "@/pages/Error/Error";
  import Login from "@/pages/Login/Login";
  import Profile from "@/pages/Profile/Profile";
  
  Vue.use(Router);
  
  export default new Router({
    routes: [
      {
        path: '/login',
        name: 'Login',
        component: Login
      },
      {
      path: '/',
      redirect: 'login',
      name: 'Layout',
      component: Layout,
      children: [
        {
          path: 'dashboard',
          name: 'Dashboard',
          component: Dashboard,
        },
        {
          path: 'typography',
          name: 'Typography',
          component: Typography,
        },
        {
          path: 'tables',
          name: 'Tables',
          component: Tables
        },
        {
          path: 'notifications',
          name: 'Notifications',
          component: Notifications
        },
        {
          path: 'icons',
          name: 'Icons',
          component: Icons
        },
        {
          path: 'charts',
          name: 'Charts',
          component: Charts
        },
        {
          path: 'maps',
          name: 'Maps',
          component: Maps
        },
        {
          path: 'Profile',
          name: 'Profile',
          component: Profile
        },
      ],
    },
      {
        path: '*',
        name: 'Error',
        component: Error
      }
    ],
  });
  