frst-components
v0.27.7
Published
<p align="center"> <a href="https://frst-falconi.github.io/storybook.frstfalconi.com"> <img alt="Chromatic" src="https://frstfalconi.com/wp-content/themes/frst-theme/img/logo-frst-completo2x.png" width="320" /> </a> </p>
Downloads
1,225
Readme
IMPORTANT
- A pasta ./dist está comitada porque é a biblioteca de componentes (gerada por
npm run build
), idealmente nós fariamos um CI/CD e publicariamos essa pasta junto com o package.json via NPM ou similar - Para usar os componentes em outros projetos: (pode pedir para autorizar)
npm i --save [email protected]:FRST-Falconi/storybook.frstfalconi.com.git#master
How to run locally
npm install
npm run sb
Creating new components
After creating a new component, you must load it into ./index.tsx
in order to add it into the new version.
import { default as NewComponent } from './src/components/NewComponent'
How gen new version (./dist)
Update package.json
version number, then
npm run build
Deploy to github.io
npm run deploy-sb
Learning Storybook
- Read our introductory tutorial over at Storybook tutorials.
- Learn how to transform your component libraries into design systems in our Design Systems for Developers tutorial.
- See our official documentation at Storybook.