

const OilPrice = () => import('../admin/oilprice.vue');

const Promo = () => import('../admin/promo/promo.vue');
const PromoCreate = () => import('../admin/promo/create.vue');
const PromoEdit = () => import('../admin/promo/edit.vue');

const StatsHome = () => import('../admin/stats/StatsHome.vue');
const SettingsPage = () => import('../admin/settings/SettingsPage.vue');
const StreetManager = () => import('../admin/streets.vue');


const adminRoutes = [
    {
        path: '/oilprice',
        name: 'oilprice',
        component: OilPrice,
    },


    {
        path: '/promo/edit/:id',
        name: 'promoedit',
        component: PromoEdit,
    },
    {
        path: '/promo/create',
        name: 'promocreate',
        component: PromoCreate,
    },
    {
        path: '/stats',
        name: 'stats',
        component: StatsHome,
    },
    {
        path: '/promo',
        name: 'promo',
        component: Promo,
    },
    {
        path: '/settings',
        name: 'settings',
        component: SettingsPage,
    },
    {
        path: '/streets',
        name: 'streetManager',
        component: StreetManager,
    },

]

export default adminRoutes
//sourceMappingURL=index.ts.map
