README.md in material-sass-4.0.0 vs README.md in material-sass-4.1.0
- old
+ new
@@ -20,33 +20,34 @@
## Installation
Add this line to your application's Gemfile:
```ruby
-gem 'bootstrap', '~> 4.0.0.beta2.1'
-gem 'material-sass', '~> 4.0.0.beta2'
+gem 'bootstrap', '~> 4.1.0'
+gem 'material-sass', '~> 4.1.0'
```
And then run the bundler and restart your server to make the files available through the pipeline:
```console
$ bundle install
```
Or install it yourself as:
```console
-$ gem install material-sass --pre
+$ gem install material-sass
```
## Usage
### a. Sass
Import Materialize styles in `app/assets/stylesheets/application.scss`:
```scss
@import "material";
+//ps: no need to import 'bootstrap'
```
**NOTE:** If you have just generated a new Rails application, it may come with a `.css` file instead. If this file exists, it will be served instead of Sass, so remove it.
```console
@@ -57,9 +58,10 @@
Require Material javascripts in `app/assets/javascripts/application.js`:
```js
//= require jquery
+//= require popper
//= require bootstrap
//= require material
```
### c. Icons