質問編集履歴
4
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -22,6 +22,7 @@
|
|
22
22
|
|
23
23
|
!追記
|
24
24
|
上記のエラーは下記のコードに書き換えたところ、消えましたが背景色は黒になりませんでした。
|
25
|
+
まだ適応されていないようです。
|
25
26
|
|
26
27
|
### 該当のソースコード
|
27
28
|
|
3
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -20,13 +20,16 @@
|
|
20
20
|
user.css:1 Failed to load resource: the server responded with a status of 404 (Not Found)
|
21
21
|
```
|
22
22
|
|
23
|
+
!追記
|
24
|
+
上記のエラーは下記のコードに書き換えたところ、消えましたが背景色は黒になりませんでした。
|
25
|
+
|
23
26
|
### 該当のソースコード
|
24
27
|
|
25
28
|
```resources/layouts/app.blade.php
|
26
|
-
|
29
|
+
<!--css-->
|
27
30
|
<link href="{{ asset('css/app.css') }}" rel="stylesheet">
|
28
|
-
<link href="{{asset('
|
31
|
+
<link href="{{ asset('css/post.css') }}" rel="stylesheet">
|
29
|
-
<link href="{{asset('
|
32
|
+
<link href="{{ asset('css/user.css') }}" rel="stylesheet">
|
30
33
|
```
|
31
34
|
ファイル構成
|
32
35
|
test
|
2
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -14,8 +14,10 @@
|
|
14
14
|
!追記
|
15
15
|
テスト環境のコンソール
|
16
16
|
```
|
17
|
-
|
18
|
-
|
17
|
+
user.css:1 Failed to load resource: the server responded with a status of 404 (Not Found)
|
18
|
+
post.css:1 Failed to load resource: the server responded with a status of 404 (Not Found)
|
19
|
+
post.css:1 Failed to load resource: the server responded with a status of 404 (Not Found)
|
20
|
+
user.css:1 Failed to load resource: the server responded with a status of 404 (Not Found)
|
19
21
|
```
|
20
22
|
|
21
23
|
### 該当のソースコード
|
1
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -10,6 +10,13 @@
|
|
10
10
|
resource/layouts/app.blade.phpにpublic/cssのcssファイルのパスを指定したのですが、適応させられませんでした。
|
11
11
|
|
12
12
|
cssが適応されませんでした。
|
13
|
+
|
14
|
+
!追記
|
15
|
+
テスト環境のコンソール
|
16
|
+
```
|
17
|
+
*********************************.vfs.cloud9.ap-northeast-1.amazonaws.com/:19 GET https://*********************************.vfs.cloud9.ap-northeast-1.amazonaws.com/assets/css/user.css net::ERR_ABORTED 404 (Not Found)
|
18
|
+
*********************************.vfs.cloud9.ap-northeast-1.amazonaws.com/:18 GET https://*********************************.vfs.cloud9.ap-northeast-1.amazonaws.com/assets/css/post.css net::ERR_ABORTED 404 (Not Found)
|
19
|
+
```
|
13
20
|
|
14
21
|
### 該当のソースコード
|
15
22
|
|
@@ -28,6 +35,6 @@
|
|
28
35
|
relや{{}}で囲んだり、Laravel内にキャッシュが残っているなどの理由も考えられると書かれており、それも試してみたのですが、適応されませんでした。
|
29
36
|
|
30
37
|
### 補足情報(FW/ツールのバージョンなど)
|
38
|
+
php8
|
39
|
+
Laravel10
|
31
40
|
|
32
|
-
ここにより詳細な情報を記載してください。
|
33
|
-
|