Skip to content
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

fix(module): skip devtools renderer page injection if router integration is disabled #2571

Merged
merged 1 commit into from
Nov 8, 2024

Conversation

romhml
Copy link
Collaborator

@romhml romhml commented Nov 8, 2024

πŸ”— Linked issue

Resolves #2558

❓ Type of change

  • πŸ“– Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

Avoid injecting the Devtools page for rendering components if the router integration is not enabled in the user's application. In the previous implementation, injecting this page would enable the router integration on the user's behalf and result in 404 errors when the index page is not defined.

πŸ“ Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

Copy link

Deploying ui3 with Β Cloudflare Pages Β Cloudflare Pages

Latest commit: acc04c1
Status:Β βœ…Β  Deploy successful!
Preview URL: https://41e92a05.ui-6q2.pages.dev
Branch Preview URL: https://fix-devtools-page-inject.ui-6q2.pages.dev

View logs

Copy link

pkg-pr-new bot commented Nov 8, 2024

pnpm add https://pkg.pr.new/@nuxt/ui@2571

commit: acc04c1

@benjamincanac benjamincanac merged commit afe4003 into v3 Nov 8, 2024
3 checks passed
@benjamincanac benjamincanac deleted the fix/devtools-page-inject branch November 8, 2024 15:27
@benjamincanac benjamincanac added the v3 #1289 label Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v3 #1289
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants