Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

153
Vistas
Why with a new ejs the css is not applying?

I have an application express.js. In the views folder I have a partials folder and layout folder. I am using layouts = require("express-ejs-layouts"); in my server.js. In partial I have a header.ejs and footer.ejs. and in layout folder i have a file including the following code:

<%- include('../partials/header'); %>
<%- body %>
<%- include('../partials/footer') %>

Indeed, in views i have several .ejs files and all the routes works fines, I can render my pages where They apply the css already existing in a public folder.

The problem when I add a new .ejs in views. I can render this page but the css is not applying.

I dont know why. Any suggestion?

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda