質問編集履歴

3

タイトル変更

2018/12/28 08:43

投稿

退会済みユーザー
test CHANGED
@@ -1 +1 @@
1
- scaffoldした後、bootstrapが反映されない
1
+ scaffoldした後、bootstrapが反映されない【Rails 5.2.2 Ruby2.5.3】
test CHANGED
File without changes

2

文章 変更

2018/12/28 08:43

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -22,10 +22,14 @@
22
22
 
23
23
  application.cssをscssに変更
24
24
 
25
- application.scssに @import = "bootstrap";
25
+ application.scssに @import = "bootstrap"; を導入
26
26
 
27
27
  application.jsに //= require jquery3
28
28
 
29
29
           //= require popper
30
30
 
31
-          //= require bootstrap-sprockets
31
+          //= require bootstrap-sprockets を導入
32
+
33
+
34
+
35
+ おそらく、scaffoldで余計なことをしているのでしょうが、どこが該当するのか、調べてもわかりませんでした。

1

変更

2018/12/28 01:04

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -22,7 +22,7 @@
22
22
 
23
23
  application.cssをscssに変更
24
24
 
25
- application.scssに @import = "bootstrap"
25
+ application.scssに @import = "bootstrap";
26
26
 
27
27
  application.jsに //= require jquery3
28
28