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

feat(nuxt): add @nuxt/devtools as dependency and enable #23576

Merged
merged 6 commits into from Oct 12, 2023

Conversation

antfu
Copy link
Member

@antfu antfu commented Oct 8, 2023

πŸ”— Linked issue

❓ Type of change

  • πŸ“– Documentation (updates to the documentation, readme or JSdoc annotations)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality like performance)
  • ✨ 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 PR adds @nuxt/devtools as nuxt's dependency and is enabled by default in development. Some work has been done in DevTools to keep the default experience as non-destructive as possible. Without explicit { devtools: true }, there would be no UI in the app, but only a message in the terminal to open DevTools by keyboard shortcuts. Once the user presses the shortcut, a checkbox will be shown in the DevTools UI, allowing users to turn on the floating panel all the time.

image

πŸ“ Checklist

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

@stackblitz
Copy link

stackblitz bot commented Oct 8, 2023

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@antfu antfu marked this pull request as ready for review October 12, 2023 15:22
@danielroe danielroe changed the title feat: ship @nuxt/devtools as dependency and enable by default feat(nuxt): add @nuxt/devtools as dependency and enable Oct 12, 2023
@danielroe danielroe merged commit 598e8c2 into main Oct 12, 2023
33 checks passed
@danielroe danielroe deleted the feat/nuxt-devtools branch October 12, 2023 15:50
@github-actions github-actions bot mentioned this pull request Oct 12, 2023
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.

None yet

2 participants