Here are the steps to install ui-kit together with another project.
- git clone [email protected]:AmityCo/Amity-Social-Cloud-UIKit-Web-OpenSource.git
- cd ./Amity-Social-Cloud-UIKit-Web-OpenSource
- npm ci
- npm link
- npm link ./
<path-to-your-app>
/node_modules/react ./<path-to-your-app>
/node_modules/react-dom - npm run build
- cd ./
<path-to-your-app>
- npm link @amityco/ui-kit-open-source --save
** We need to link react module to react module in destination project so that react is the same instance otherwise we will encounter issues with react hook.
Please refer to our online documentation at https://docs.amity.co or contact a Ui-Kit representative at [email protected] for support.