FormidableLabs / victory-component-boilerplate

MIT License
3 stars 1 forks source link

Generate `index.html` from `static-index.jsx` #20

Open coopy opened 8 years ago

coopy commented 8 years ago

Use renderToString to generate index.html from static-index.jsx. This is to support builder run docs-dev and builder run docs-hot scenarios.

coopy commented 8 years ago

Depends on https://github.com/FormidableLabs/builder/issues/68

ryan-roemer commented 8 years ago

Suggest the easier version of:

"docs-dev": "builder run build-index && builder run real-docs-dev"

OR

"docs-dev": "builder --setup=build-index run real-docs-dev"
coopy commented 8 years ago

Yeah, let's just support this by modifying the docs-dev and docs-run scripts in the archetype.