preactjs/preact-cli

prerender and preact-helmet

Open

#745 ouverte le 26 févr. 2019

Voir sur GitHub
 (2 commentaires) (1 réaction) (0 assignés)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

Guide contributeur