preactjs/preact-cli

prerender and preact-helmet

Open

#745 aperta il 26 feb 2019

Vedi su GitHub
 (2 commenti) (1 reazione) (0 assegnatari)JavaScript (415 fork)batch import
enhancementhelp wantedquestion

Metriche repository

Star
 (4674 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

How do you prerender routes and get the meta tags from preact-helmet to appear in the prerender?

I've tried following the preact-helmet docs and implementing const head = Helmet.rewind(); to prerender in preact-cli but that returns empty

Please mention other relevant information.

  • Node version 11.6
  • npm version 6.5
  • CLI version @next

Guida contributor