teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

1

情報の追加

2020/10/05 08:55

投稿

ty_tech
ty_tech

スコア1

title CHANGED
File without changes
body CHANGED
@@ -52,8 +52,33 @@
52
52
  ```
53
53
 
54
54
 
55
+ ```
56
+ app/javascript/packs/application.js
55
57
 
58
+
59
+ // This file is automatically compiled by Webpack, along with any other files
60
+ // present in this directory. You're encouraged to place your actual application logic in
61
+ // a relevant structure within app/javascript and only use these pack files to reference
62
+ // that code so it'll be compiled.
63
+
64
+ require("@rails/ujs").start()
65
+ require("turbolinks").start()
66
+ require("@rails/activestorage").start()
67
+ require("channels")
68
+ require("bootstrap/dist/js/bootstrap")
69
+
70
+ // Uncomment to copy all static images under ../images to the output folder and reference
71
+ // them with the image_pack_tag helper in views (e.g <%= image_pack_tag 'rails.png' %>)
72
+ // or the `imagePath` JavaScript helper below.
73
+ //
74
+ // const images = require.context('../images', true)
75
+ // const imagePath = (name) => images(name, true)
76
+
56
77
  ```
78
+
79
+
80
+
81
+ ```
57
82
  app/javascript/top/slide.js
58
83
 
59
84