preactjs/preact-cli

prerender and preact-helmet

Open

#745 opened on Feb 26, 2019

View on GitHub
 (2 comments) (1 reaction) (0 assignees)JavaScript (4,674 stars) (415 forks)batch import
enhancementhelp wantedquestion

Description

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