storybook react to static markup:故事书插件用于显示react组件的静态标记 源码
故事书插件,用于显示React组件的静态标记 安装 npm install --save-dev storybook-react-to-static-markup 组态 添加到.storybook/addons.js import 'storybook-react-to-static-markup/register' 添加到.storybook/config.js import { addDecorator } from '@storybook/react' import { withStaticMarkup } from 'storybook-react-to-static-mark
用户评论