feat: storybook (#9324)

This commit is contained in:
Hash Brown 2024-10-16 10:18:48 +08:00 • committed by GitHub
commit 5df1cb0566
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 5441 additions and 502 deletions

View file

@ -74,6 +74,18 @@ If you want to customize the host and port:
npm run start --port=3001 --host=0.0.0.0
```
## Storybook
This project uses [Storybook](https://storybook.js.org/) for UI component development.
To start the storybook server, run:
```bash
yarn storybook
```
Open [http://localhost:6006](http://localhost:6006) with your browser to see the result.
## Lint Code
If your IDE is VSCode, rename `web/.vscode/settings.example.json` to `web/.vscode/settings.json` for lint code setting.