flowbite icon indicating copy to clipboard operation
flowbite copied to clipboard

Add yarn/pnpm install instructions to next.js docs

Open pippinmole opened this issue 2 years ago • 4 comments

Is your feature request related to a problem? Please describe. Anybody wanting to create a project using specifically yarn or pnpm have to rely on guesswork to install packages properly.

Describe the solution you'd like Add a toggle between different package managers wherever there is a command to run.

Additional context https://www.flowbite-react.com/docs/getting-started/nextjs

You could use Tabs here.

pippinmole avatar Oct 29 '23 00:10 pippinmole

Good point

SutuSebastian avatar Apr 08 '24 13:04 SutuSebastian

Btw, the link is outdated, new links are under guides, eg: https://flowbite-react.com/docs/guides/next-js

SutuSebastian avatar Apr 08 '24 13:04 SutuSebastian

Btw, the link is outdated, new links are under guides, eg: https://flowbite-react.com/docs/guides/next-js

Regarding this link, I think this command is wrong? Sorry for bundling it with this issue

image

pippinmole avatar Apr 08 '24 14:04 pippinmole

Btw, the link is outdated, new links are under guides, eg: https://flowbite-react.com/docs/guides/next-js

Regarding this link, I think this command is wrong? Sorry for bundling it with this issue

image

It's not wrong, its a tedious thing in npm when using create syntax and it provides the flags/options divider. Try it without, it will mostly fail (depending on ur npm version). The npx create-flowbite-react ... works just fine without the -- divider.

SutuSebastian avatar Apr 08 '24 14:04 SutuSebastian