Keep Clerk login state reactive in your Vue app.
Guides implementation of Clerk authentication in Vue 3 apps using reactive composables, protected routes, and shared auth stores.
When to use it
Use for Clerk composables, Vue Router authentication guards, or Pinia authentication integration in Vue apps.
It changes how the agent implements Clerk authentication in Vue projects, providing patterns for composables, route guards, and Pinia stores.
What you provide
The patterns require the Clerk Vue SDK, version 2 or later, in a Vue 3 app.
The application uses Vue 3, with createApp imported from vue.
The app reads the Clerk publishable key through import.meta.env and passes it to clerkPlugin; the template errors if it is missing.
No additional actions listed.