chore: Add Nuxt Example - #24
Closed
frederikprijck wants to merge 1 commit into
Closed
Conversation
frederikprijck
force-pushed
the
feat/nuxt-example
branch
2 times, most recently
from
April 11, 2025 12:39
0e9eec5 to
052ed13
Compare
frederikprijck
force-pushed
the
feat/nuxt-example
branch
from
April 11, 2025 12:49
052ed13 to
7cdbfcc
Compare
Member
Author
|
Closing this in favor of the Nuxt SDK we are working on. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR adds a very basic, first version of a Nuxt application that leverages
@auth0/auth0-server-js.The nuxt integration is done using a module, containing:
ServerClientuse-auththat we can use to access the user in a component.Just like with Next.js, for now, the middleware exists only in user-code.
This is a very basic implementation, and may require a bit more work, especially for the things marked with
TODO(mostly regarding exposing instances usingevent.context)Testing
From the root of the repository, run:
npm installnpm run dev -w example-nuxt-webChecklist