Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jeasonstudio/react-component-storybook
Use vitejs, storybook and typescript to build great react components and documents.
https://github.com/jeasonstudio/react-component-storybook
react-component storybook typescript vitejs
Last synced: 3 months ago
JSON representation
Use vitejs, storybook and typescript to build great react components and documents.
- Host: GitHub
- URL: https://github.com/jeasonstudio/react-component-storybook
- Owner: jeasonstudio
- License: mit
- Created: 2021-09-07T07:06:02.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-09-08T07:38:45.000Z (over 3 years ago)
- Last Synced: 2024-04-28T01:24:42.365Z (9 months ago)
- Topics: react-component, storybook, typescript, vitejs
- Language: TypeScript
- Homepage: https://react-component-storybook.vercel.app/
- Size: 289 KB
- Stars: 10
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# react-component-storybook
Use vitejs, storybook and typescript to build great react components.
> Just click `Use this template` button or use `gh` cli `gh repo create -p jeasonstudio/react-component-storybook my-component`. [Read more documents.](https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/creating-a-repository-from-a-template)
## Install
```
$ yarn
```## Develop
```
$ yarn dev
```## Build
```
$ yarn build
```## Publish
```
$ yarn version --(major|minor|patch|...)
$ yarn publish
```## CI/CD
We use vercel to deploy our component stories.
* [find vercel token](https://vercel.com/account/tokens) and set to actions secret `VERCEL_TOKEN`
* [get projectId and orgId](https://vercel.com/docs/build-step#system-environment-variables) and set to actions secret `VERCEL_ORG_ID/VERCEL_PROJECT_ID`## License
Available under the [MIT license](LICENSE).