venmo / react-html-document

A foundational React component useful for rendering full html documents on the server.
MIT License
155 stars 14 forks source link

Produce .html files? #16

Open ablackledge opened 7 years ago

ablackledge commented 7 years ago

Hi, perhaps I'm misunderstanding something here (most likely) but the build task doesn't produce html files, from the documentation it appears as though actual html is the end product of the build but all I see are js files in the dist folder.

Am I missing something here?

Thanks

Andy

xavierelopez commented 7 years ago

Hi @ablackledge. The tool does not produce html files. The build command is meant to be run by developers who intend to make changes to the project's source code.

This tool is meant to be used to produce a string of html that you would then use in your server code to send as a response to your client. You would use it as shown in the examples, in the context of a node server.

ablackledge commented 7 years ago

Perfect, thanks for the quick response I can see I was trying to do something that wasn't intended now. Cheers :)

ringalls2020 commented 4 years ago

@ablackledge Did you ever come across a solution to produce .html files? I am trying to accomplish the same thing you were