-
Notifications
You must be signed in to change notification settings - Fork 100
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(dx): warn if module is not registered but used #334
Labels
enhancement
New feature or request
Comments
danielroe
added a commit
that referenced
this issue
Feb 11, 2021
* you will no longer be able to import directly from `@nuxtjs/composition-api` outside of the nuxt context relates to #334
Having taken a look at this, there's very little that can be done if users haven't added the module to |
danielroe
added a commit
that referenced
this issue
Mar 2, 2021
* causes slight dx regression with unregistered module (`This dependency was not found: fs`) - see #334
This was referenced Mar 8, 2021
Closed
Closed
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
🆒 Your use case
When the composition API module is added to the dependencies but not registered, an unexpected
fs
error appears when using the plugin in the code.(FF)
(Chrome)
🆕 The solution you'd like
Instead of showing the cryptic error, give the hint that the module has to be registered
🔍 Alternatives you've considered
If this is too much effort, keep as is (possibly this issue will be help enough then when googling?).
This is mostly a DX upgrade that might help a small number of ppl.
The text was updated successfully, but these errors were encountered: