質問編集履歴
1
Bootstrapが使えるかどうかの確認でapp.blade.phpを追加しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -6,6 +6,8 @@
|
|
6
6
|
|
7
7
|
|
8
8
|
|
9
|
+
**nav.blade.php**
|
10
|
+
|
9
11
|
```PHP
|
10
12
|
|
11
13
|
<nav class="navbar navbar-expand-lg navbar-light amber lighten-5">
|
@@ -129,3 +131,79 @@
|
|
129
131
|
|
130
132
|
|
131
133
|
```
|
134
|
+
|
135
|
+
**app.blade.php**
|
136
|
+
|
137
|
+
```php
|
138
|
+
|
139
|
+
<!DOCTYPE html>
|
140
|
+
|
141
|
+
<html lang="ja">
|
142
|
+
|
143
|
+
<head>
|
144
|
+
|
145
|
+
<meta charset="utf-8">
|
146
|
+
|
147
|
+
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
148
|
+
|
149
|
+
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
150
|
+
|
151
|
+
<title>
|
152
|
+
|
153
|
+
@yield('title')
|
154
|
+
|
155
|
+
</title>
|
156
|
+
|
157
|
+
<!-- Font Awesome -->
|
158
|
+
|
159
|
+
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.2/css/all.css">
|
160
|
+
|
161
|
+
<!-- Bootstrap core CSS -->
|
162
|
+
|
163
|
+
<link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.3.1/css/bootstrap.min.css" rel="stylesheet">
|
164
|
+
|
165
|
+
<!-- Material Design Bootstrap -->
|
166
|
+
|
167
|
+
<link href="https://cdnjs.cloudflare.com/ajax/libs/mdbootstrap/4.8.11/css/mdb.min.css" rel="stylesheet">
|
168
|
+
|
169
|
+
</head>
|
170
|
+
|
171
|
+
|
172
|
+
|
173
|
+
<body>
|
174
|
+
|
175
|
+
<div id="app">
|
176
|
+
|
177
|
+
@yield('content')
|
178
|
+
|
179
|
+
</div>
|
180
|
+
|
181
|
+
|
182
|
+
|
183
|
+
|
184
|
+
|
185
|
+
<script src="{{ mix('js/app.js') }}"></script>
|
186
|
+
|
187
|
+
<!-- JQuery -->
|
188
|
+
|
189
|
+
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
|
190
|
+
|
191
|
+
<!-- Bootstrap tooltips -->
|
192
|
+
|
193
|
+
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.4/umd/popper.min.js"></script>
|
194
|
+
|
195
|
+
<!-- Bootstrap core JavaScript -->
|
196
|
+
|
197
|
+
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.3.1/js/bootstrap.min.js"></script>
|
198
|
+
|
199
|
+
<!-- MDB core JavaScript -->
|
200
|
+
|
201
|
+
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mdbootstrap/4.8.11/js/mdb.min.js"></script>
|
202
|
+
|
203
|
+
|
204
|
+
|
205
|
+
|
206
|
+
|
207
|
+
</body>
|
208
|
+
|
209
|
+
```
|