1.2.11 • Published 2 years ago
montblanc-ui-lib v1.2.11
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:
- In the root of montblanc-ui directory run:
npm install
npm link
- npm link montblanc-ui to react in your app to fix react hook error:
npm link '../YOUR_APP_NAME/node_modules/react'
- In the root of your app directory link your app to montblanc-ui:
npm link montblanc-ui-lib
- Import nessessary components
import { Button } from 'montblanc-ui-lib'
To use published npm package:
- Install
npm i montblanc-ui-lib
- 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