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

138
Vistas
Use multiple JavaScript package in a script tag(mainly bootstrap 5)

hi this is probably a stupid question but I cant find an answer, I am using vanilla js, without any bundler I need to use the Toast bootstrap class, how do I load a js package into a tag script?

<script type="text/javascript" src="../static/vendor/bootstrap/js/bootstrap.bundle.min.js"></script>

If I write my script tag as in the code above, I can use the Bootstrap Toast class in the code inside the script tag, but I can't use any other js package, knowing that I can't use an import statement, I am lost but I'm pretty sure it's basic knowledge. What I need is how to use bootstrap5 inside a script tag without using src, there is no bootstrap object on the window object. Keep in mind that I have already import bootstrap5 css and Js elsewhere on the page, I just need to access objects from the package.

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