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

110
Views
How to import module from url?

I am using a vuejs npm package in my application. For some reasons, I need to use with cdn url directly so let's suppose this is the cdn lib https://cdn.jsdelivr.net/npm/my-package@1.1.0/dist/my-package.umd.min.js. Now I don't know how to use that in vue application.

Any help would be appreciated. Thanks:)

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

0

I understand your problem perfectly and I will answer about your question.

In vue project, there is html page that shows to clients finally.

This is original html page, so it has header and body tag.

In header tag, as you can see, there are script and link .

Then you want to use other urls, you can input this url using <script> tag.

This is sample below.

<script src="https://cdn.jsdelivr.net/npm/my-package@1.1.0/dist/my-package.umd.min.js"></script>
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!