preactjs/preact-cli

prerender and preact-helmet

Open

#745 aberto em 26 de fev. de 2019

Ver no GitHub
 (2 comments) (1 reaction) (0 assignees)JavaScript (415 forks)batch import
enhancementhelp wantedquestion

Métricas do repositório

Stars
 (4.674 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

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

Guia do colaborador