styleguidist/react-styleguidist

Use `renderToStaticMarkup` in when running build.

Open

#121 创建于 2016年4月11日

在 GitHub 查看
 (10 评论) (0 反应) (0 负责人)TypeScript (1,416 fork)github user discovery
enhancementhelp wanted

仓库指标

Star
 (11,091 star)
PR 合并指标
 (PR 指标待抓取)

描述

Not sure how feasible this is, but could the style guide be statically rendered into the index.html using ReactDOMServer when compiled with the build option? Then rendered again via ReactDOM to hook up the events.

This could be useful to have static output.

贡献者指南