【发布时间】:2019-08-12 02:41:09
【问题描述】:
我使用npm 安装了bootstrap-select 包。我可以在我的Laravel 项目的node-modules 目录中看到这一点。
我在master.blade.php 中添加了以下条目:
<link rel="stylesheet" href="{{ asset('css/bootstrap-select.css') }}">
但是,当我在本地计算机上运行 php artisan serve 并转到浏览器时,我可以在控制台中看到以下错误:
[错误] 加载资源失败:服务器响应状态为 404(未找到)(bootstrap-select.css,第 0 行) http://127.0.0.1:8000/css/bootstrap-select.css
我正在使用Laravel Framework 5.7.28
非常感谢任何线索!
【问题讨论】: