added promo. fixed bugs

This commit is contained in:
2024-10-07 17:34:38 -04:00
parent 7832e40bf3
commit e8ffae3b01
16 changed files with 1359 additions and 394 deletions

View File

@@ -2,6 +2,11 @@
import OilPrice from '../admin/oilprice.vue';
import Promo from '../admin/promo/promo.vue';
import PromoCreate from '../admin/promo/create.vue';
import PromoEdit from '../admin/promo/edit.vue';
const adminRoutes = [
{
path: '/oilprice',
@@ -10,7 +15,25 @@ const adminRoutes = [
},
{
path: '/promo/edit:id',
name: 'promoedit',
component: PromoEdit,
},
{
path: '/promo/create',
name: 'promocreate',
component: PromoCreate,
},
{
path: '/promo',
name: 'promo',
component: Promo,
},
]
export default adminRoutes
//sourceMappingURL=index.ts.map