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

197
Views
tippy.js doesn't work after being imported

I installed tippy.js using npm and then it tried to import it into my .js file ,but I face an error.

HTML

<button id="my-button">btn</button>
<script type="module" src="./script.js"></script>

JS

import tippy from 'tippy.js';
import 'tippy.js/dist/tippy.css';

tippy('#my-button', {
    content: "github",
    arrow: true,
});

Note that I have checked the dependencies and made sure that the package is installed successfully.

Error: enter image description here

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!