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:
2026-09-16 20:58:22 +02:00
parent 17a26b60ed
commit 762af5c4f3
11 changed files with 809 additions and 0 deletions
+12
View File
@@ -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,