Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

106
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda