为了账号安全,请及时绑定邮箱和手机立即绑定

为什么我在安装 Semantic-UI 后收到 ERROR_FILE_NOT_FOUND?

为什么我在安装 Semantic-UI 后收到 ERROR_FILE_NOT_FOUND?

米脂 2023-12-19 16:47:18
基本的 html 页面。刚刚启动并下载软件包。检查我的 Semantic UI 设置是否正确安装,但是当我打开 index.html 页面并检查控制台时,我得到“GET file:///semantic/dist/semantic.min.css net::ERR_FILE_NOT_FOUND”# 39;,以及“GET file:///semantic/dist/semantic.min.js net::ERR_FILE_NOT_FOUND”。这很奇怪!这些是我的 index.html 文件内的 head 标签内的脚本标签:<!DOCTYPE html><html>  <head>    <meta charset="utf-8" />    <title>HTML5 boilerplate – all you really need…</title>    <!-- You MUST include jQuery before Fomantic -->    <script src="https://cdn.jsdelivr.net/npm/jquery@3.3.1/dist/jquery.min.js"></script>    <link      rel="stylesheet"      type="text/css"      href="/semantic/dist/semantic.min.css"    />    <script src="/semantic/dist/semantic.min.js"></script>  </head>  <body id="home">    <h1>HTML5 boilerplate</h1>  </body></html>我可以单击两个标签中的相对路径,它将带我到编辑器中的实际文件。我当前的文件夹结构是:语义学距离语义.min.css语义.min.js索引.html是什么赋予了?
查看完整描述

1 回答

?
明月笑刀无情

TA贡献1828条经验 获得超4个赞

尝试 ./semantic/dist/semantic.min.css



查看完整回答
反对 回复 2023-12-19
  • 1 回答
  • 0 关注
  • 47 浏览

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信