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

174
Views
Importar Bootstrap en Vue.js

Estoy luchando cuando estoy importando este Bootstrap. Aquí está el error .

Ya hice npm i boostrap jquery popper.js . Pero cuando los estoy importando, recibo un error.

Esta es mi importación del archivo main.js :

 import Vue from 'vue' import App from './App' import router from './router' import 'bootstrap'; import 'bootstrap/dist/css/bootstrap.min.css';
about 4 years ago · Juan Pablo Isaza
2 answers
Answer question

0

Como sugirieron los demás, puede usar bootstrap para Vue, pero esto no funciona bien para mí. Lo que suelo hacer es simplemente agregar el enlace bootstrap cnd a mi encabezado index.html

 <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-F3w7mX95PdgyTmZZMECAngseQB83DfGTowi0iMjiWaeVhAn4FJkqJByhZMI3AhiU" crossorigin="anonymous">
about 4 years ago · Juan Pablo Isaza Report

0

No puede usar Bootstrap en Vue.js, pero puede usar bootstrap-vue o solo Bootstrap CSS.

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!