Skip to content

Commit 7b620f6

Browse files
authored
Merge pull request #749 from duleorlovic/README
Use import without .css
2 parents dd9b2d6 + b8768ea commit 7b620f6

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,15 @@ If you use Rails in the default mode without any pre-processor, you'll have to a
5858

5959
If you followed the [official bootstrap installation guide](https://github.com/twbs/bootstrap-rubygem#a-ruby-on-rails), you'll probably have switched to SCSS. In this case add the following line to your `application.scss`:
6060

61+
62+
If you're using Propshaft (for example, the Rails 8 default), do it like this:
63+
64+
```scss
65+
@use "rails_bootstrap_forms";
66+
```
67+
68+
Else if you're using Sprockets (the Rails default before Rails 8), do it like this:
69+
6170
```scss
6271
@import "rails_bootstrap_forms.css";
6372
```

0 commit comments

Comments
 (0)