我无法在我的应用程序中使用app.css
。每次服务器返回以下错误:
GET http://localhost:8000/css/app.css net::ERR_ABORTED 404 (未找到)。
我使用了一个blade页面。
<link href="{{ asset('css/app.css') }}" rel="stylesheet">
我尝试使用php artisan serve
和php -S localhost:8000 -t public
,但两者都无法正常工作。
<body> <section id="conteudo-view" class=login> <h1>登录</h1> {!! Form::open(['route' => 'user.login', 'method' => 'post']) !!} <p>访问系统</p>
<label> </label> <label> </label>
{!! Form::close() !!} </section> </body></html> - Paulo Fonseca
css/app.css
放在哪里? - Vladimir Goncharnpm run dev
还是npm run watch
命令进行的?参见手册。 - brombeer