質問編集履歴

2

追記

2024/03/08 06:39

投稿

student
student

スコア87

test CHANGED
File without changes
test CHANGED
@@ -13,6 +13,17 @@
13
13
  ```
14
14
  unknown at rule @tailwind
15
15
  ```
16
+
17
+ !追記!
18
+ 上記のエラーを開所してもデザインは崩れたままでした。
19
+ コンソールに書いてある、エラーを載せさせていただきます。
20
+ ```
21
+ Mixed Content: The page at 'https://4611880d2cb5445d9b3c784b0194dfa8.vfs.cloud9.ap-northeast-1.amazonaws.com/login' was loaded over HTTPS, but requested an insecure stylesheet 'http://4611880d2cb5445d9b3c784b0194dfa8.vfs.cloud9.ap-northeast-1.amazonaws.com/build/assets/app-CB8Dc99X.css'. This request has been blocked; the content must be served over HTTPS.
22
+ login:15 Mixed Content: The page at 'https://4611880d2cb5445d9b3c784b0194dfa8.vfs.cloud9.ap-northeast-1.amazonaws.com/login' was loaded over HTTPS, but requested an insecure script 'http://4611880d2cb5445d9b3c784b0194dfa8.vfs.cloud9.ap-northeast-1.amazonaws.com/build/assets/app-CjgZ9Ty2.js'. This request has been blocked; the content must be served over HTTPS.
23
+ login:15 Mixed Content: The page at 'https://4611880d2cb5445d9b3c784b0194dfa8.vfs.cloud9.ap-northeast-1.amazonaws.com/login' was loaded over HTTPS, but requested an insecure stylesheet 'http://4611880d2cb5445d9b3c784b0194dfa8.vfs.cloud9.ap-northeast-1.amazonaws.com/build/assets/app-CB8Dc99X.css'. This request has been blocked; the content must be served over HTTPS.
24
+ login:29 Mixed Content: The page at 'https://4611880d2cb5445d9b3c784b0194dfa8.vfs.cloud9.ap-northeast-1.amazonaws.com/login' was loaded over a secure connection, but contains a form that targets an insecure endpoint 'http://4611880d2cb5445d9b3c784b0194dfa8.vfs.cloud9.ap-northeast-1.amazonaws.com/login'. This endpoint should be made available over a secure connection.
25
+ ```
26
+
16
27
  ![イメージ説明](https://ddjkaamml8q8x.cloudfront.net/questions/2024-03-04/24cfbcda-4704-4a73-bb86-09c901b2c54f.png)
17
28
  ### 該当のソースコード
18
29
 

1

追記

2024/03/06 05:48

投稿

student
student

スコア87

test CHANGED
File without changes
test CHANGED
@@ -6,7 +6,10 @@
6
6
 
7
7
 
8
8
  ### 発生している問題・エラーメッセージ
9
-
9
+ !追記!
10
+ 下記のエラーはエディター箇所で表示されていました。
11
+ 赤い箇所を触ると、下記のエラーが表示されました。
12
+ ![イメージ説明](https://ddjkaamml8q8x.cloudfront.net/questions/2024-03-06/0ce8030e-5cf2-4e5e-acfe-57a21fecaac0.png)
10
13
  ```
11
14
  unknown at rule @tailwind
12
15
  ```
@@ -19,6 +22,45 @@
19
22
  @tailwind utilities;
20
23
  ```
21
24
 
25
+ ```resources/views/layouts/app.blade.php
26
+ <!DOCTYPE html>
27
+ <html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
28
+ <head>
29
+ <meta charset="utf-8">
30
+ <meta name="viewport" content="width=device-width, initial-scale=1">
31
+ <meta name="csrf-token" content="{{ csrf_token() }}">
32
+
33
+ <title>{{ config('app.name', 'Laravel') }}</title>
34
+
35
+ <!-- Fonts -->
36
+ <link rel="preconnect" href="https://fonts.bunny.net">
37
+ <link href="https://fonts.bunny.net/css?family=figtree:400,500,600&display=swap" rel="stylesheet" />
38
+
39
+ <!-- Scripts -->
40
+ @vite(['resources/css/app.css', 'resources/js/app.js'])
41
+ </head>
42
+ <body class="font-sans antialiased">
43
+ <div class="min-h-screen bg-gray-100">
44
+ @include('layouts.navigation')
45
+
46
+ <!-- Page Heading -->
47
+ @if (isset($header))
48
+ <header class="bg-white shadow">
49
+ <div class="max-w-7xl mx-auto py-6 px-4 sm:px-6 lg:px-8">
50
+ {{ $header }}
51
+ </div>
52
+ </header>
53
+ @endif
54
+
55
+ <!-- Page Content -->
56
+ <main>
57
+ {{ $slot }}
58
+ </main>
59
+ </div>
60
+ </body>
61
+ </html>
62
+ ```
63
+
22
64
  ### 試したこと
23
65
  下記決方法を調べたのですが、どれもVSCodeで利用している方法なのですが、Cloud9でも活用できるのかが分かりません。
24
66