【问题标题】:I cannot find bootstrap.css in my folders我在我的文件夹中找不到 bootstrap.css
【发布时间】:2019-07-14 18:11:53
【问题描述】:

我找不到我的 CSS 文档的路径。

我的 bootstrap.css 位于 https://i.hizliresim.com/P7kRGO.jpg,这是我收到的错误消息:https://i.hizliresim.com/7BgOQN.jpg

<link href="https://fonts.googleapis.com/css?family=Encode+Sans+Expanded:400,600,700" rel="stylesheet">

<!-- Stylesheets -->
<link href=./plugin-frameworks\bootstrap.css" rel="stylesheet">

<link href="../views/plugin-frameworks/bootstrap.css"rel="stylesheet">

<link href="./fonts/ionicons.css" rel="stylesheet">


<link href="/common/styles.css" rel="stylesheet">

我使用的是 PHP 7、Laravel 5.4,并在 xampp Apache 上运行。

【问题讨论】:

  • 图片未加载,请将它们附加到帖子中。

标签: php html css laravel


【解决方案1】:

像这样使用资产助手链接公共目录中的资源:

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

【讨论】:

    猜你喜欢
    • 2014-11-22
    • 1970-01-01
    • 1970-01-01
    • 2021-04-20
    • 1970-01-01
    • 2016-07-22
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多