0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Laravel7 でCSSが読み込めない

Posted at

Laravel 7.25.0です。

CSSの場所:
Laravel/public/css/app.css
HTMLの場所
Laravel/resources/views/layouts.blade.php

##問題点
何故かCSSが読み込めなかった。

##解決

<link rel="stylesheet" href="/css/app.css">

<link rel="stylesheet" href="{{ asset('css/app.css') }}">

に変えたら読み込めました。

##原因
不明です。(すみません)

##参考
https://teratail.com/questions/126308

おしまい。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?