Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

163
Views
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 answers
Answer question

0

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

about 4 years ago · Juan Pablo Isaza Report

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 Report

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!