Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use with prerender from preact-cli #31

Open
DannyAziz opened this issue Feb 26, 2019 · 5 comments
Open

How to use with prerender from preact-cli #31

DannyAziz opened this issue Feb 26, 2019 · 5 comments

Comments

@DannyAziz
Copy link

How can I use this with the prerendering ability of preact-cli

I've tried using .rewind() in the prerender.js of preact-cli's source but that doesn't work

@acangiani
Copy link

@DannyAziz I think I'm having the same issue, were you able to fix it?

@DannyAziz
Copy link
Author

@acangiani I wasn't really able to fix this, I ended up writing a python script (You could definitely do this in node) that would edit the HTML pages that got spat out.

Not the best way but it kinda works

@acangiani
Copy link

@DannyAziz thanks!

@Faisal-Manzer
Copy link

Any progress yet???

@acangiani
Copy link

Hi @Faisal-Manzer, I finally ended up rewriting all the server with razzle.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants