preactjs/preact-cli

prerender and preact-helmet

Open

#745 geöffnet am 26. Feb. 2019

Auf GitHub ansehen
 (2 Kommentare) (1 Reaktion) (0 zugewiesene Personen)JavaScript (4.674 Stars) (415 Forks)batch import
enhancementhelp wantedquestion

Beschreibung

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

Contributor Guide