framework
framework copied to clipboard
Warning when installing "nuxt2-only" modules
Describe the feature
Hey 👋🏻
I was wondering if it'd be possible to introduce some warning when people try to use modules that aren't ready for Nuxt2 yet. This could improve DX and reduce frustration.
See e.g. https://github.com/nuxt/framework/issues/7605 and (possibly) #7168
Additional information
- [X] Would you be willing to help implement this feature?
- [ ] Could this feature be implemented as a module?
Final checks
- [X] Read the contribution guide.
- [X] Check existing discussions and issues.
Perhaps we could use defineNuxtModule to add compatibility constraints in community modules specifically, even if we don't upgrade them for Bridge/Nuxt 3. wdyt @pi0?