This package provides UI components and implements StoryBook based on React 17.0.2
Based on YouTube tutorial
- React 17.0.2
- Node 16.13.1
In the project directory, you can run:
Install dependencies.
Launches the StoryBook interface.
-
Update package.json version
-
Build dist
npm run build-lib
-
Log in into npmjs.com (it's required creating an account)
npm login
-
Publish version to npmjs.com
npm publish
-
Install package
npm i fact-find-front-end-library
-
Use components
import { Header } from 'fact-find-front-end-library'; <Header prop=props />