Installation
Peer Dependencies Problem
Just like sds-core, sds-telicon
and sds-themes
packages, sds-react-component
is a package available to be downloaded from NPM, but it differs from these other packages in its elaboraton. To reduce the amount of time required to create certain components, third-party dependencies were used for specific tasks.
To use sds-react-components
package in a new project, you need to install not only the sds-react-components
package but also the peer dependencies.
To automate the process of installing the sds-react-components
package and all its peer dependencies, we recommend installing the NPM package called install-peerdeps. This tool will automatically install all the required peer dependencies of a package.
npm install -g install-peerdeps
To use it, the developer only needs to execute the following command:
install-peerdeps <package>[@<version>]
sds-react-component installation
Once the install-peerdeps
is installed, adding sds-react-components
package should be easy. To do it, just execute the following command:
install-peerdeps @2600hz/sds-react-components
Last updated