You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used to be able to specify the location of components.json by pnpm dlx shadcn@latest add checkbox -c src/app/components.json, but now it doesn't work. The problem The path ./src/app does not contain a package.json file. Would you like to start a new Next.js project? will appear, making it impossible to install. I don't want to add a package.json to the src/app directory. Because this is not a monorepo application, I just want to use multiple configurations in one application. Why did shadcn suddenly give me this option?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I used to be able to specify the location of components.json by
pnpm dlx shadcn@latest add checkbox -c src/app/components.json
, but now it doesn't work. The problemThe path ./src/app does not contain a package.json file. Would you like to start a new Next.js project?
will appear, making it impossible to install. I don't want to add a package.json to thesrc/app
directory. Because this is not a monorepo application, I just want to use multiple configurations in one application. Why did shadcn suddenly give me this option?Beta Was this translation helpful? Give feedback.
All reactions