Download / preact-helmet

A document head manager for Preact
MIT License
82 stars 7 forks source link

How to use with prerender from preact-cli #31

Open DannyAziz opened 5 years ago

DannyAziz commented 5 years ago

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 commented 5 years ago

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

DannyAziz commented 5 years ago

@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 commented 5 years ago

@DannyAziz thanks!

Faisal-Manzer commented 4 years ago

Any progress yet???

acangiani commented 4 years ago

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