質問編集履歴
1
**application.js**の追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -114,6 +114,58 @@
|
|
114
114
|
|
115
115
|
|
116
116
|
|
117
|
+
**application.js**
|
118
|
+
|
119
|
+
```
|
120
|
+
|
121
|
+
// This is a manifest file that'll be compiled into application.js, which will include all the files
|
122
|
+
|
123
|
+
// listed below.
|
124
|
+
|
125
|
+
//
|
126
|
+
|
127
|
+
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, or any plugin's
|
128
|
+
|
129
|
+
// vendor/assets/javascripts directory can be referenced here using a relative path.
|
130
|
+
|
131
|
+
//
|
132
|
+
|
133
|
+
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
134
|
+
|
135
|
+
// compiled file. JavaScript code in this file should be added after the last require_* statement.
|
136
|
+
|
137
|
+
//
|
138
|
+
|
139
|
+
// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
|
140
|
+
|
141
|
+
// about supported directives.
|
142
|
+
|
143
|
+
//
|
144
|
+
|
145
|
+
//= require rails-ujs
|
146
|
+
|
147
|
+
//= require activestorage
|
148
|
+
|
149
|
+
//= require turbolinks
|
150
|
+
|
151
|
+
//
|
152
|
+
|
153
|
+
//= require jquery
|
154
|
+
|
155
|
+
//= require jquery_ujs
|
156
|
+
|
157
|
+
//
|
158
|
+
|
159
|
+
//= require cocoon
|
160
|
+
|
161
|
+
//
|
162
|
+
|
163
|
+
//= require_tree .
|
164
|
+
|
165
|
+
```
|
166
|
+
|
167
|
+
|
168
|
+
|
117
169
|
### 試したこと
|
118
170
|
|
119
171
|
|