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

164
Vistas
CSS not imported in Grapesjs Components

working in grapesjs adding templates as components with add CSS but CSS not import. Also tried the public/index.html file but not working. Help!

          canvas: {
                   styles:[
         '<link rel="stylesheet" href="http://localhost:3000/assets/css/headers/style.css" type="style.css" />',
         '<link rel="stylesheet" href="http://localhost:3000/assets/css/headers/bootstrap.css" type="text/css" />',
                      ],
                },
about 4 years ago · Juan Pablo Isaza
3 Respuestas
Responde la pregunta

0

Just call from local driectory like : C:/documents/[your project source]/ Not go with localhost

about 4 years ago · Juan Pablo Isaza Denunciar

0

You only need to specify the URL of the stylesheet, not the entire link tag.

canvas: {
    styles:[
        'http://localhost:3000/assets/css/headers/style.css',       
        'http://localhost:3000/assets/css/headers/bootstrap.css'
    ]
}
about 4 years ago · Juan Pablo Isaza Denunciar

0

it's Working on removing link tags and only defining with localhost link.

 canvas: {
    styles:[
            'http://localhost:3000/assets/css/headers/style.css',       
            'http://localhost:3000/assets/css/headers/bootstrap.css'
           ]
        }

 

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