/
austin_s
/
react-interview-components
Обзор
Документация
Войти
/
austin_s
/
react-interview-components
Код
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
docs/Documentation.mdx
20 строк
763 B
spanic
upgrades to Storybook 7.4, fixes standalone docs
30 авг 2023, 01:48
30 авг 2023, 01:48
a9fb6de
Код
Авторство
О чём код?
import {Meta} from '@storybook/blocks'; <Meta title="Docs/Add documentation" /> # Document your library Template has [Storybook](https://storybook.js.org/) configuration to handle documentation and examples. ```bash yarn start:docs # starts Storybook in development mode, http://localhost:6006/ yarn build:docs # builds Storybook pages to `storybook-dist` directory ``` ## Write To document component or module simply create `story` file as `.js` or `.stories.mdx` extension, more info [here](https://storybook.js.org/docs/react/writing-stories/introduction). ## Deploy After package is published you can build and host documentation at Github Pages or Netlify, using [this manual](https://storybook.js.org/tutorials/intro-to-storybook/react/en/deploy/).