@ensofinance/ui-library v0.0.27
Enso UI Library
How to use
Run storybook:
yarn && yarn start:storybookDuplicate a component
Duplicate, rename and wire a new component using the command:
yarn go newComponentTitleGenerate icons
Use svgr to generate icons from public folder:
yarn svgrOr add it as a pre-commit hook:
husky add .husky/pre-commit "yarn svgr"Link to another library
In order to yarn link with this project, peer dependencies need to be linked with the project you want to link
Run yarn local-peer-deps and enter the project directory, the script will yarn link all peer dependencies from the target project into ui-library.
Then, in this project, run
yarn linkGo to an existing project and use the following command to start using your local npm package.
yarn link @ensofinance/ui-libraryNow start rollup in watch mode to develop and see changes.
yarn rollup:watchand/or Storybook to view the Component Library
yarn storybook3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago