Skip to content

Possible to render a page on a command line? Example? #1087

Answered by Chagall
reece asked this question in Q&A
Discussion options

You must be logged in to vote

I think issue here is that you are not exporting the ReactDocument properly. Try adding the line export default ReportDocument at the end of the jsx file, and see if it works.

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
5 replies
@reece
Comment options

@Chagall
Comment options

@Chagall
Comment options

@reece
Comment options

@Chagall
Comment options

Answer selected by reece
Comment options

You must be logged in to vote
2 replies
@idrtabd
Comment options

@Chagall
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants