1.2.11 • Published 2 years ago

montblanc-ui-lib v1.2.11

Weekly downloads
-
License
ISC
Repository
-
Last release
2 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'
1.1.11

2 years ago

1.1.10

2 years ago

1.2.11

2 years ago

1.1.9

2 years ago

1.1.8

3 years ago

1.1.7

3 years ago

1.1.6

3 years ago

1.1.1

3 years ago

1.1.5

3 years ago

1.1.4

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.0

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago