Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

169
Visualizações
Angular cli server-side rendering without ng eject

According to this article, the only way to implement good server-side rendering with Angular 4's platform-server is to set up a custom webpack config after running ng eject on an angular cli project.

Maybe this question is naive of me, but is there any way to keep using the default cli webpack config files and also take advantage of server-side rendering?

I am a newb when it comes to webpack, so I prefer not to eject from the cli.

UPDATE:

This blog post is a really good resource. However, I am now waiting for the @angular/material library to be compatible with angular universal (It's not yet, but should be coming soon).

over 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

Currently Angular-CLI don't support server-side rendering. You can take a look at https://github.com/angular/angular-cli/issues/1050 for more details. So it is waiting to support for Angular Universal as here.

Now you can use Universal-CLI that it is fork from Angular-CLI supporting Angular Universal.

Hope this help!

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda