Lightlines
By clerk

clerk-nuxt-patterns

clerk13.1k installs

Clerk sign-in and protected routes for Nuxt apps.

What it does

Guides implementation of Clerk authentication in Nuxt apps, including protected routes, authenticated server APIs, and SSR-safe pages.

When to use it

Use when working on Nuxt authentication, auth composables, Clerk middleware, authenticated server APIs, or route protection.

How to use it

It changes how the agent implements authentication in a Nuxt project by supplying patterns for middleware, server routes, composables, and SSR.

What you provide

  • An existing project

Uses

Latest review

What you need · 2

Configures the Clerk publishable key through an environment variable shown in .env, alongside the server secret key.

Configures the Clerk server secret key through an environment variable shown in .env, alongside the publishable key.


Access · 1

This skill

@clerk/nuxt

Execute

Installs the Clerk Nuxt module