質問編集履歴

3

追記

2022/05/26 05:53

投稿

study_matome
study_matome

スコア37

test CHANGED
File without changes
test CHANGED
@@ -152,18 +152,19 @@
152
152
 
153
153
  ![スクリーンショット 2022-05-25 21.24.17.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/2655769/a3dc4747-9c0b-02a9-0192-5ce03ec53c90.png)
154
154
 
155
- jQueryは導入していましたが、②のjsファイルが加されていないため、表示されないのでしょうか?
155
+ ###
156
156
 
157
- ![スクリーンショット 2022-05-25 21.31.33.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/2655769/d00a0b80-1834-2439-fd06-013a7895a85f.png)
157
+ 上記にファイルを指定したのですが、表示結果は変わらずの状況でした。
158
158
 
159
- パスで指定しようとしたのですがうまくたどり着けない状態で、検証出来かねる状況でした。
160
-
161
-
162
- 質問①
159
+ ```
163
- もしこちらが原因の場合、パスの指定方法を教えていただくことは可能でしょうか?
160
+ require("@rails/ujs").start()
164
-
161
+ // require("turbolinks").start()
162
+ require("@rails/activestorage").start()
163
+ require("channels")
164
+ require("../nav")
165
+ require('jquery')
166
+ require('../../../app/views/comments/item_comments') #こちらを追記
165
- 質問②
167
+ ```
166
- 別な要因がある場合、そちらを教えていただくことは可能でしょうか?
167
168
 
168
169
  お手数ですが、ご教授いただけますと幸いです。
169
170
 

2

修正

2022/05/26 05:22

投稿

study_matome
study_matome

スコア37

test CHANGED
File without changes
test CHANGED
@@ -167,4 +167,6 @@
167
167
 
168
168
  お手数ですが、ご教授いただけますと幸いです。
169
169
 
170
- <a href="https://ja.stackoverflow.com/questions/89055">こちらでも</a>質問させいただいています。
170
+ 以下でも質問おります。
171
+ (リンクタグに反映されなかったため、以下の表記で失礼いたします)
172
+ https://ja.stackoverflow.com/questions/89055/%e9%9d%9e%e5%90%8c%e6%9c%9f%e9%80%9a%e4%bf%a1%e3%81%ae%e3%82%b3%e3%83%a1%e3%83%b3%e3%83%88%e3%82%92%e8%a1%a8%e7%a4%ba%e3%81%99%e3%82%8b%e3%81%ab%e3%81%af%e3%81%a9%e3%81%ae%e3%82%88%e3%81%86%e3%81%ab%e3%81%99%e3%82%8c%e3%81%b0%e8%89%af%e3%81%84%e3%81%ae%e3%81%8b

1

修正

2022/05/26 05:19

投稿

study_matome
study_matome

スコア37

test CHANGED
File without changes
test CHANGED
@@ -167,3 +167,4 @@
167
167
 
168
168
  お手数ですが、ご教授いただけますと幸いです。
169
169
 
170
+ ※<a href="https://ja.stackoverflow.com/questions/89055">こちらでも</a>質問させていただいています。