Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Adding Vueform into existing Nuxt project with pnpm#425

Unanswered
AloisSeckar asked this question inQuestions
Discussion options

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 theinstallation guide:

pnpm add @vueform/nuxt

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 innode_modules correctly, as the nuxt package itself doesn't download them:

image

Today I realized it was because in my demo project I don't haveshamefully-hoist option forpnpm turned on by default.

The way to mitigate this is either to explicitly declare@vueform/vueform dependency:

pnpm add @vueform/vueform

Or to re-installnode modules with:

pnpm install --shamefully-hoist

I have already noticed that for some dependency-related thingsshamefully-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.

You must be logged in to vote

Replies: 0 comments

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
Questions
Labels
None yet
1 participant
@AloisSeckar

[8]ページ先頭

©2009-2025 Movatter.jp