質問編集履歴

1

情報の追加

2020/10/05 08:55

投稿

ty_tech
ty_tech

スコア1

test CHANGED
File without changes
test CHANGED
@@ -106,6 +106,56 @@
106
106
 
107
107
 
108
108
 
109
+ ```
110
+
111
+ app/javascript/packs/application.js
112
+
113
+
114
+
115
+
116
+
117
+ // This file is automatically compiled by Webpack, along with any other files
118
+
119
+ // present in this directory. You're encouraged to place your actual application logic in
120
+
121
+ // a relevant structure within app/javascript and only use these pack files to reference
122
+
123
+ // that code so it'll be compiled.
124
+
125
+
126
+
127
+ require("@rails/ujs").start()
128
+
129
+ require("turbolinks").start()
130
+
131
+ require("@rails/activestorage").start()
132
+
133
+ require("channels")
134
+
135
+ require("bootstrap/dist/js/bootstrap")
136
+
137
+
138
+
139
+ // Uncomment to copy all static images under ../images to the output folder and reference
140
+
141
+ // them with the image_pack_tag helper in views (e.g <%= image_pack_tag 'rails.png' %>)
142
+
143
+ // or the `imagePath` JavaScript helper below.
144
+
145
+ //
146
+
147
+ // const images = require.context('../images', true)
148
+
149
+ // const imagePath = (name) => images(name, true)
150
+
151
+
152
+
153
+ ```
154
+
155
+
156
+
157
+
158
+
109
159
 
110
160
 
111
161
  ```