uv-components

React based component library for Universum

Usage no npm install needed!

<script type="module">
  import uvComponents from 'https://cdn.skypack.dev/uv-components';
</script>

README

Universum Component Library

React based component library

Prerequisites

  • Yarn > 1.21.1
  • Node > 13.8.0

How to Run Locally

  1. Install dependencies using yarn
  2. Run storybook using yarn storybook
  3. Storybook should be running on http://127.0.0.1:9001

How to Run Tests

TODO

How to Build and Publish Project

  1. Build the project using yarn build
  2. Publish the project using yarn publish

How to export storybook as a static application

  1. Run yarn build-storybook
  2. The static files will be created in .out folder
  3. Test if the static files are working correctly using npx http-server .out, server should be running on http://127.0.0.1:8080
  4. If everything is correct, deploy the static files on S3, GitHub, Web Server, etc.