在laravel中集成模板时未找到目录

在laravel中集成模板时未找到目录,laravel,Laravel,我想在我的laravel项目中集成一个模板 错误消息: GET http://localhost/safeAgency.com/public/files/bower_components/bootstrap/js/bootstrap.min.js net::ERR_ABORTED 404 (Not Found) 我想通过以下方式访问该文件: <link rel="stylesheet" type="text/css" href="

我想在我的laravel项目中集成一个模板

错误消息:

GET http://localhost/safeAgency.com/public/files/bower_components/bootstrap/js/bootstrap.min.js net::ERR_ABORTED 404 (Not Found)
我想通过以下方式访问该文件:

    <link rel="stylesheet" type="text/css" href="{{asset('local_agent/../files/bower_components/bootstrap/css/bootstrap.min.css')}}">

解释!关于我的文件夹结构和以上链接:
我在项目的
public
目录中有一个名为
local\u agent
的文件夹。在这个本地代理目录文件夹中,我有两个名为
files
dashboard
的文件夹<代码>HTML文件存在于仪表板文件夹下。但是在
files
文件夹
bower_components
文件夹中存在
bootstrap
然后诸如此类。这里还需要提到另一件事:
“bootstrap.min.css”
文件位于名为
files
的文件夹中,表示比当前文件夹高一级。这就是为什么我在文件之前使用了
。/
。希望您理解。

您可以像这样访问此文件:

  <link rel="stylesheet" type="text/css" href="{{asset('local_agent/files/bower_components/bootstrap/css/bootstrap.min.css')}}">


无需
使用直接链接,如:
本地代理/文件/鲍尔组件/引导/css/bootstrap.min.css
先生,我尝试过这种方法,但错误仍然与原来一样。它给您404,意味着您的文件路径不正确。请放置一个目录结构图像,以便更好地了解资产文件。关于
href=“/local\u agent/files/bower\u components/bootstrap/css/bootstrap.min.css”的内容是什么?
谢谢,问题已经解决