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

396
Views
I want to import bootstrap js and jquery js file in astro js

I tried ES imports statements and normal script tag to import the required JS file and CSS file for bootstrap in astro js project

I am getting this Issue.

Error: The following dependencies are imported but could not be resolved:

js/jquery-3.4.1.min.js (imported by /media/****li/hdd/***ed-astro/src/layouts/main.astro) js/bootstrap.js (imported by /media/****li/hdd/***ed-astro/src/layouts/main.astro) js/custom.js (imported by /media/****li/hdd/***ed-astro/src/layouts/main.astro)

Are they installed?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Got it, in the main layout file - I had to rectify the file path

From

<script src="js/custom.js"></script>

TO

<script src="assets/js/custom.js"></script>

same for all CSS file ..

all these assets were places in the public folder.

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!