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

203
Views
There is a warning when importing resources under the public folder using Vite

I used import.meta.globEager() to import the picture resources under the public folder. The console gives me these tips, but if I remove'/public'and I can't get these pictures, how can I remove these tips?

const Assets = import.meta.globEager('/public/static/user_preference/stage_color_png/*.png');

and then give me some tips: files in the public directory are served at the root path.Instead of /public/static/user_preference/stage_color_png/1.png?import, use /static/user_preference/stage_color_png/3.png

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