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

170
Views
Import Bootstrap in Vue.js

I am struggling when I'm importing this Bootstrap. Here is the error.

I already did npm i boostrap jquery popper.js. But when I’m importing these, I’m getting an error.

This is my import from the main.js file:

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

As the others suggested, you can use bootstrap for Vue, but this does not work well for me. What I usually do is simply add the bootstrap cnd link to my index.html header

<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

You can’t use Bootstrap in Vue.js, but you can use bootstrap-vue or only 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!