質問編集履歴

1

追記

2021/04/19 05:50

投稿

takamaru_ss
takamaru_ss

スコア6

test CHANGED
File without changes
test CHANGED
@@ -51,3 +51,53 @@
51
51
 
52
52
 
53
53
  複雑なことをしていないのに上手くいっていないため、どう質問していいのかわからず曖昧な書き方になってしまいましたがよろしくお願いいたします。
54
+
55
+
56
+
57
+ ###追記
58
+
59
+ コンソールにエラーが出ていました。
60
+
61
+ ```
62
+
63
+ data-confirm-modal.js:80 Uncaught Error: The bootstrap modal plugin does not appear to be loaded.
64
+
65
+ at data-confirm-modal.js:80
66
+
67
+ at Object.<anonymous> (data-confirm-modal.js:307)
68
+
69
+ at Object../node_modules/data-confirm-modal/vendor/assets/javascripts/data-confirm-modal.js (data-confirm-modal.js:307)
70
+
71
+ at __webpack_require__ (bootstrap:19)
72
+
73
+ at Module.<anonymous> (application.js:1)
74
+
75
+ at Module../app/javascript/packs/application.js (application.js:31)
76
+
77
+ at __webpack_require__ (bootstrap:19)
78
+
79
+ at bootstrap:83
80
+
81
+ at bootstrap:83
82
+
83
+ (anonymous) @ data-confirm-modal.js:80
84
+
85
+ (anonymous) @ data-confirm-modal.js:307
86
+
87
+ ./node_modules/data-confirm-modal/vendor/assets/javascripts/data-confirm-modal.js @ data-confirm-modal.js:307
88
+
89
+ __webpack_require__ @ bootstrap:19
90
+
91
+ (anonymous) @ application.js:1
92
+
93
+ ./app/javascript/packs/application.js @ application.js:31
94
+
95
+ __webpack_require__ @ bootstrap:19
96
+
97
+ (anonymous) @ bootstrap:83
98
+
99
+ (anonymous) @ bootstrap:83
100
+
101
+ ```
102
+
103
+ Bootstrapのモーダルに関するプラグインが読み込まれていないとあります。