What problem does it solve?
This Skill eliminates the manual work of wiring Auth0 authentication into Vue 3 single-page applications by guiding you through SDK installation, plugin registration, and UI updates so login/logout flows and protected routes behave consistently.
Core Features & Use Cases
- SDK Installation: Adds @auth0/auth0-vue to your project so you can import composables like useAuth0.
- Plugin Registration: Shows how to configure createAuth0 with environment variables and register it before mounting the Vue app.
- Composable UI Pattern: Covers login/logout components, loading guards, and session-aware content plus guidance on avoiding common mistakes with redirect URIs and token handling.
- Use Case: Build a Vue 3 SPA on Vite or Vue CLI, connect it to an Auth0 tenant, and protect routes while showing user profile data inside secure areas.
Quick Start
Configure your Vue 3 SPA with @auth0/auth0-vue, register the plugin in main.ts, and add login/logout components as described above.