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

157
Views
How to import JavaScript libraries with ViteJS in HTML?

I am using ViteJS to npm install any libraries or packages that I need, and I plan to use vanilla JavaScript and HTML. One of the libraries I am using is called os-gui, a styling library. The docs state that I can use npm install it, but also calls for directly importing the library in the HTML like this:

enter image description here

Since I am not using ReactJS but ordinary HTML, and since I have not directly downloaded the library, how can I properly format the href so that it points to the correct packages that I downloaded in npm?

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!