8

I want to use both the vuetify.min.css folder and bootstratp.min.css folder. Bootstrap is defined on the layout page and I need vuetify.min.css on another page. Is there any way to use both of them together?

5
  • 1
    I'm sure you could but it would make your app pretty heavy. Why do you need them both? What does one do that the other doesn't? Commented Mar 30, 2019 at 9:04
  • I need some button css's. However, vuetify css file crashes bootstrap. When I use both of them posts are growing. Commented Mar 30, 2019 at 9:20
  • 2
    If it is just some buttons could you not just write your own css for them? Commented Mar 30, 2019 at 9:27
  • Because these are already exist in vuetify Commented Mar 30, 2019 at 11:59
  • 1
    Why can't you copy the button CSS from Vuetify if that's all you need? Commented Sep 29, 2019 at 17:11

1 Answer 1

1

There are multiple solutions here:

  1. Prefix one of the libraries like so: https://github.com/vuetifyjs/vuetify/issues/9454

  2. Only get what you need from the BS4 library (using SCSS) like so:

@import "~bootstrap/scss/buttons.scss";
  1. Switch to BS3 for your button styling and create a custom package.

In my opinion the best solution is the second, get it working in your setup and build the files you need. More info on Theming BS4 here.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.