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

質問編集履歴

3

manifest.jsファイルを追加

2020/08/08 08:56

投稿

moai891
moai891

スコア9

title CHANGED
File without changes
body CHANGED
@@ -94,4 +94,10 @@
94
94
  }
95
95
 
96
96
  setInterval(slideShow_timer, 1000);
97
+ ```
98
+
99
+ - manifest.js(/app/assets/config/manifest.jsにて配置)
100
+ ```
101
+ //= link_tree ../images
102
+ //= link_directory ../stylesheets .css
97
103
  ```

2

ファイル名を修正

2020/08/08 08:56

投稿

moai891
moai891

スコア9

title CHANGED
File without changes
body CHANGED
@@ -57,7 +57,7 @@
57
57
  = image_tag '/images/visual-1.jpg', id: "main-visual__images-js", alt: '画像背景', class: 'main-visual__img--main'
58
58
  ```
59
59
 
60
- - manifest.js
60
+ - manifest.json
61
61
  ```
62
62
  {
63
63
  "application.js": "/packs/js/application-9afcbb5693aa87623e69.js",

1

投稿のレイアウト崩れを修正

2020/08/08 08:38

投稿

moai891
moai891

スコア9

title CHANGED
File without changes
body CHANGED
@@ -8,8 +8,7 @@
8
8
  ```
9
9
  ActionView::Template::Error at /
10
10
  Webpacker can't find slide-show in /Users/user_name/projects/app_name/public/packs/manifest.json. Possible causes:
11
- 1. You want to set webp```
12
- ```acker.yml value of compile to true for your environment
11
+ 1. You want to set webpacker.yml value of compile to true for your environment
13
12
  unless you are using the `webpack -w` or the webpack-dev-server.
14
13
  2. webpack has not yet re-run to reflect updates.
15
14
  3. You have misconfigured Webpacker's config/webpacker.yml file.