Implement event creation frontend (EventCreateView)

Form with client-side validation, server error handling, aria-invalid/
aria-describedby for a11y, localStorage persistence via useEventStorage
composable. Routes for /create and /events/:token.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-05 10:56:59 +01:00
parent f3d4b5fa17
commit 84feeb9997
6 changed files with 719 additions and 12 deletions

View File

@@ -10,12 +10,14 @@ const router = createRouter({
component: HomeView,
},
{
path: '/about',
name: 'about',
// route level code-splitting
// this generates a separate chunk (About.[hash].js) for this route
// which is lazy-loaded when the route is visited.
component: () => import('../views/AboutView.vue'),
path: '/create',
name: 'create-event',
component: () => import('../views/EventCreateView.vue'),
},
{
path: '/events/:token',
name: 'event',
component: () => import('../views/EventStubView.vue'),
},
],
})