Add CMS blog admin for managing posts and storefront visibility.
Wire list and detail views with image uploads, draft/live editing, and a blog-enabled toggle backed by the shop settings API.
This commit is contained in:
@@ -41,6 +41,18 @@ const router = createRouter({
|
||||
component: () => import('../views/CmsDiscountCodesView.vue'),
|
||||
meta: { requiresAuth: true, title: 'CMS - Discount codes' }
|
||||
},
|
||||
{
|
||||
path: '/blog/:id',
|
||||
name: ROUTE_NAMES.BlogPostDetail,
|
||||
component: () => import('../views/CmsBlogPostDetailView.vue'),
|
||||
meta: { requiresAuth: true, title: 'CMS - Blog post', activeMenu: '/blog' }
|
||||
},
|
||||
{
|
||||
path: '/blog',
|
||||
name: ROUTE_NAMES.BlogPosts,
|
||||
component: () => import('../views/CmsBlogPostsView.vue'),
|
||||
meta: { requiresAuth: true, title: 'CMS - Blog' }
|
||||
},
|
||||
{
|
||||
path: '/orders/:id',
|
||||
name: ROUTE_NAMES.OrderDetail,
|
||||
|
||||
Reference in New Issue
Block a user