README
一个React组件开发模板
使用了storybook作为开发环境,自己配置了webpack作为组件输出环境
storybook: https://github.com/storybooks/storybook
使用
修改package.json中的描述信息相关的字段
yarn
npm run storybook
之后请参考storybook的相关文档
发布
npm publish --registry=http://npm.fishsaying.com
description
<script type="module">
import reactComponentTestName from 'https://cdn.skypack.dev/react-component-test-name';
</script>
使用了storybook作为开发环境,自己配置了webpack作为组件输出环境
storybook: https://github.com/storybooks/storybook
修改package.json中的描述信息相关的字段
yarn
npm run storybook
之后请参考storybook的相关文档
npm publish --registry=http://npm.fishsaying.com