R
Join ServerReactiflux
help-js
Hailwood – 10-06 Apr 11
If I'm creating a package that requires the consumer to have a dependency I'll add it to peerDependencies (e.g. if my package uses tailwindcss for styling components, or react for the components). I'm also setting up storybook for the components, which means for dev I need to have tailwindcss installed.
So I'm wondering if I need to have tailwindcss/react/react-dom listed under peerDependencies and devDependencies or whether just peerDependencies is enough?
It does seem like having them listed under just peerDependencies causes them to be installed, but thought I'd get confirmation.
So I'm wondering if I need to have tailwindcss/react/react-dom listed under peerDependencies and devDependencies or whether just peerDependencies is enough?
It does seem like having them listed under just peerDependencies causes them to be installed, but thought I'd get confirmation.
5 Messages Not Public
Sign In & Join Server To View