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

148
Visualizações
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 Respostas
Responde à pergunta

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 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