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

Add DevOnly component #15066

Closed
3 of 4 tasks
stafyniaksacha opened this issue Oct 1, 2022 · 2 comments · Fixed by nuxt/framework#7950
Closed
3 of 4 tasks

Add DevOnly component #15066

stafyniaksacha opened this issue Oct 1, 2022 · 2 comments · Fixed by nuxt/framework#7950

Comments

@stafyniaksacha
Copy link
Contributor

Describe the feature

A component to render it slot only during dev would be useful in some cases.

The content should be tree shaken during build

Additional information

  • Would you be willing to help implement this feature?
  • Could this feature be implemented as a module?

Final checks

@manniL
Copy link
Member

manniL commented Oct 1, 2022

Could you outline which use case(s) you had in mind? ☺️

@stafyniaksacha
Copy link
Contributor Author

stafyniaksacha commented Oct 1, 2022

With https://github.com/nuxt-themes/starter we can imagine providing developers tools within the layouts
We also can imagine custom rendering methods for nuxt content (like drag and drop handlers in dev mode)

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

Successfully merging a pull request may close this issue.

3 participants