Adding Vueform into existing Nuxt project with pnpm #425
Unanswered
AloisSeckar
asked this question in
Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I am first opening this as a question/suggestion, because I am not sure if this isn't just my problem.
I have noticed yesterday that if I add Vueform following the instruction from the installation guide:
It technically worked - the app does run, the form renders and can be interacted.
But my IDE was not happy, because it cannot locate the referenced sources in
node_modules
correctly, as the nuxt package itself doesn't download them:Today I realized it was because in my demo project I don't have
shamefully-hoist
option forpnpm
turned on by default.The way to mitigate this is either to explicitly declare
@vueform/vueform
dependency:Or to re-install
node modules
with:I have already noticed that for some dependency-related things
shamefully-hoist
is a must and essentially a requirement for Nuxt+pnpm setup, but I am not sure if I ever have read it anywhere in the (Nuxt) docs. So my question is whether not to mention something like this in the Vueform installation docs to avoid possible confusion?I can as well move this question into Nuxt repo, if you think it will be a better place.
Beta Was this translation helpful? Give feedback.
All reactions