themesberg / flowbite

Open-source UI component library and front-end development framework based on Tailwind CSS
https://flowbite.com
MIT License
7.35k stars 711 forks source link

Add yarn/pnpm install instructions to next.js docs #695

Open pippinmole opened 8 months ago

pippinmole commented 8 months ago

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.

SutuSebastian commented 3 months ago

Good point

SutuSebastian commented 3 months ago

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

pippinmole commented 3 months ago

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

SutuSebastian commented 3 months ago

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.