Topic: How to put mdbootstrap files into Ruby on Rails project?
Here you can find a tutorial: https://mdbootstrap.com/articles/jquery/md-bootstrap-ruby-on-rails-tutorial/
how can we attach scss files ? and access variable .. i tried it adding to project css directory and @import mdb.scss in application.scss but it gives the following error
Undefined variable: "$mdb-colors-1".
Hi Arslan Asif,
You need to @import all scss files to compile mdb.scss styles. File mdb.scss is used to import every part of our custom styles, with your custom styles at the end to overwrite ours. We compile them in gulp as a default, but you can use any scss compiler to do that.
Best Regards, Piotr
- User: Free
- Premium support: No
- Technology: General Bootstrap questions
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No