I have a project that involves Laravel and Vue.js.
In my Laravel project, I am importing Bootstrap CSS using the following line:
// Bootstrap
@import "node_modules/bootstrap-sass/assets/stylesheets/bootstrap";
This import is done in the app.scss
file.
After running npm install
, I noticed that all Bootstrap classes are working fine except for the responsive classes.
I am specifically using classes from the following link:
https://v4-alpha.getbootstrap.com/layout/responsive-utilities/
For example, to display content only on desktops, I use the class hidden-md-down
.
However, when I switch to using the responsive classes from the following Bootstrap CDN link:
https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css
The responsive classes work but other Bootstrap classes break.
If you have encountered and resolved this issue before, I would appreciate any help or advice.
Thank you