Skip to content

Add Nuxt 4 compatibility #64

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

luc122c
Copy link

@luc122c luc122c commented Jul 17, 2025

Closes #63 by adding ^4.0.0 to the compatibility range for Nuxt.

I have not yet tested this, although I have been using this module with compatibilityVersion: 4 for some time without issue.

@Barbapapazes
Copy link
Owner

It should works without this but let's wait for the official Nuxt Module migration guide to know.

@luc122c
Copy link
Author

luc122c commented Jul 17, 2025

There is a similar issue with the semver check here: vuejs/pinia#3009 (comment)

@ceigey
Copy link

ceigey commented Jul 21, 2025

I had to:

  • manually remove the module from nuxt.config.ts
  • run npm remove nuxt-authorization
  • re-run npx nuxi module add nuxt-authorization

... to get that message to go away (but maybe I was just overthinking things and npx nuxi module add nuxt-authorization@latest would work).

This is with the latest update from @Barbapapazes which introduced the simpler >=3.0.0 semver check (e.g. not this PR), and Nuxt 4 stable (e.g. just 4.0.0 not 4.0.0-alpha).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Nuxt 4 compatibility
3 participants