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

145
Vistas
CSS Style module for React App not picking up style after deploying it to Kubernetes

I have a react app and I am using some node modules that have Navtabs

import { Nav, NavItem} from '@{some-module-example}/components';

Now these Nav components require

import '@{some-module-example}/components/styles'

These styles are applied on their own in local. Now the issue is when I run the app in my localhost the CSS styles are being applied, but when I deploy it to K8 using github actions, the styles are not picking up. The styles that are being picked up are the ones in index.html (After using the inspect tool).

 <link rel="stylesheet" type="text/css" href="https://{xyz-example.com}/style.css">

Any idea how can I achieve these styles only for those specific components from

import '@{some-module-example}/components/styles'
about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

This was resolved by adding - import '@{some-module-example}/components/styles/styles.css' so that it overrides.

about 4 years ago · Juan Pablo Isaza Denunciar
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