3.0.4 • Published 3 years ago

irfer-ui-lib v3.0.4

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

React Component Library

Preview link: https://ui.montblanc.frida.casa/

Development

Testing

npm run test

Building

npm run build

Storybook

To run a live-reload Storybook server on your local machine:

npm run storybook

To export Storybook as static files:

npm run build-storybook

Prettier

To format code:

npm run prettier

Publishing

To login to the npm account:

npm login

Remember to check the version and remove private: true from package.json every time before publishing.

To publish run:

npm publish

Using

To use locally:

  1. In the root of montblanc-ui directory run:
npm install
npm link
  1. npm link montblanc-ui to react in your app to fix react hook error:
npm link '../YOUR_APP_NAME/node_modules/react'
  1. In the root of your app directory link your app to montblanc-ui:
npm link montblanc-ui-lib
  1. Import nessessary components
import { Button } from 'montblanc-ui-lib'

To use published npm package:

  1. Install
npm i montblanc-ui-lib
  1. Import nessessary components
import { Button } from 'montblanc-ui-lib'
3.0.4

3 years ago

3.0.3

3 years ago

3.0.2

3 years ago

3.0.1

3 years ago

3.0.0

3 years ago

2.0.0

3 years ago

1.1.2

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago