Raydiant's React Menu component library for the Raydiant Menu apps.
Please look at the lib README.md file
Use the version of Node.js specified in the .nvmrc
file.
If you're using nvm
run nvm install
& nvm use
to install and use the correct version of Node.js.
yarn install
Run yarn start
to start the styleguidist server.
- Go to the
raydiant-menu
root directory - run
nvm use; yarn; yarn build
- CD to your App repository
- Edit the
package.json
file so thatdependencies
includes"raydiant-menu": "file://[path-to-raydiant-menu]/build/lib"
- Run
yarn
to installraydiant-menu
(make sure you are using react and react-dom v16.8.0)
Publishing to NPM is currently a manual process:
- Increment version in
package.json
. - Run
yarn deploy
. - Commit version bump and submit a PR (or push directly to main).