import scopes from '@utils/scopes';
import { lazyLoadView } from '@utils/lazyloadview';
import Vue from 'vue';

const routes = [
  {
    component: () => lazyLoadView(import('@router/dashboard/index.vue')),
    meta: {
      icon: 'dashboard',
      label: 'dashboard.label',
      place: 'drawer',
      order: 1,
      scopes: scopes.dashboard,
      showProd: Vue.prototype.$appConfig.isDebugMode === 'true',
    },
    name: 'dashboard',
    path: 'dashboard',
  },
];

export default routes;
