
Redoute 📚
Redoute is an UI kit. It allows you to install and import small components for your interface.
Packages are located in src/packages.
They are independents.
Online doc : redoute.dataveyes.com
All components are listed in the doc
yarn run docz:dev
Dev zone 👩💻
How to create/update and publish a repository
- Create a new folder for your package/components in
src/packages - Develop your components
- Write the document in a .mdx file & check in the docz website (If needed install it localy, see chapter about
yarn link) - Push and create a Pull Review for a peer to check (do not merge yet!)
- When the review is finished, squash/rebase the history to have a clean history.
- Pull the last version of master on your branch, publish the version by running
yarn run publish(you may need to runyarn loginfirst) - Push that commit to your branch (it may has been pushed automatically with the previous command)
- Merge this branch
yarn link : Install a package from a local path (without publishing it) ?
Init the link:
cd src/packages/my-packageyarn link
Install the new package where you want to use it:
yarn link @redoute/my-package
More about yarn link