一个项目骨架,可使用 Rollup、TypeScript、SASS + Storybook 将您自己的 React 组件库启动并运行
一个项目骨架,可使用 Rollup、TypeScript、SASS + Storybook 将您自己的 React 组件库启动并运行
npm run storybook:export
``` 然后,您可以使用 S3、GitHub 页面、Express 等工具在 `storybook-static` 目录下服务这些文件。我将此库托管在: https://www.harveydelaney.com/react-component-library
假设您的机器上还有另一个项目(`test-app`),您想将该项目中的组件库安装到本地。
[**Read my blog post about why and how I created this project skeleton ▸**](https://blog.harveydelaney.com/creating-your-own-react-component-library/)
[Check out this CodeSandbox to see the component library in action ▸](https://codesandbox.io/s/harvey-component-library-example-y2b60)暂无开放 Issues,或尚未同步最近议题。