Skip to content

fix(devtools): call devtools:initialized hook after all modules run#919

Merged
antfu merged 2 commits intomainfrom
fix/init-hook
Jan 10, 2026
Merged

fix(devtools): call devtools:initialized hook after all modules run#919
antfu merged 2 commits intomainfrom
fix/init-hook

Conversation

@danielroe
Copy link
Member

@danielroe danielroe commented Jan 9, 2026

🔗 Linked issue

resolves nuxt/a11y#216

❓ 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

this moves the devtools:initialized hook to after all modules have a chance to run and register their callbacks

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Jan 9, 2026

Deploying nuxt-devtools with  Cloudflare Pages  Cloudflare Pages

Latest commit: 98c75a8
Status: ✅  Deploy successful!
Preview URL: https://1d7f4a6f.nuxt-devtools.pages.dev
Branch Preview URL: https://fix-init-hook.nuxt-devtools.pages.dev

View logs

@antfu antfu merged commit 3662836 into main Jan 10, 2026
4 checks passed
@antfu antfu deleted the fix/init-hook branch January 10, 2026 01:58
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.

DevTools RPC not registered when @nuxt/a11y loads after @nuxt/devtools

2 participants