How to use mdbootstrap lite ?


Topic: How to use mdbootstrap lite ?

Maxence asked 5 years ago

Hello,

I install mdbootstrap with npm install mdbootstrap in my laravel project.

In my layout -> head , how i can add stylesheet ?

I used this :

  <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mdbootstrap/4.7.6/js/mdb.min.js"></script><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/mdbootstrap/4.7.6/css/mdb.min.css" />

I have a mdbootstrap but i can't/don't know change CSS of buttons ect..

Any help ? :)


Bartłomiej Malanowski staff pro premium commented 5 years ago

What have you tried so far? You should be able to attach the CSS file to your section.


Maxence commented 5 years ago

Hi,

I add in resources/sass/app.scss : @import '~mdbootstrap/css/mdb.min.css';

Now i have a css but i can't add 'JS' in resources/js/app.js


Bartłomiej Malanowski staff pro premium commented 5 years ago

what's the problem? how to reproduce your issue?


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Open

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: General Bootstrap questions
  • MDB Version: -
  • Device: 4
  • Browser: firefox
  • OS: ubuntu
  • Provided sample code: No
  • Provided link: No