简体   繁体   English

Live Sass 编译器不工作,文件不知何故没有链接?

[英]Live Sass Compiler is not working, files are somehow not linked?

I am using the Live Sass Compiler plugin for VScode, and when I start to watch, I get a strange terminal error and the files won't link.我正在使用适用于 VScode 的 Live Sass 编译器插件,当我开始观看时,我收到一个奇怪的终端错误并且文件不会链接。 It all seems to be linked properly if the compiler were to work, but the.html file won't update with my custom.scss changes.如果编译器能够正常工作,这一切似乎都已正确链接,但 .html 文件不会随着我的 custom.scss 更改而更新。
The terminal warning says something about in the bootstrap files, and I think that may be part of it?终端警告在引导文件中说明了一些内容,我认为这可能是其中的一部分?

This is my index.html head:这是我的索引。html 头:

<head>
   <meta charset="utf-8">
   <meta name="viewport" content="width=device-width, initial-scale=1">
   <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-giJF6kkoqNQ00vy+HMDP7azOuL0xtbfIcaT9wjKHr8RbDVddVHyTfAAsrekwKmP1" crossorigin="anonymous">
    <link rel="stylesheet" href="./style/custom.css">
    <title>New Document</title>
</head>

And my: custom.scss file and the terminal error message还有我的: custom.scss 文件和终端错误信息

Not sure what to do at this point?不知道此时该做什么?

Paste this code in the head tag and try again.将此代码粘贴到 head 标签中,然后重试。

<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-giJF6kkoqNQ00vy+HMDP7azOuL0xtbfIcaT9wjKHr8RbDVddVHyTfAAsrekwKmP1" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta1/dist/js/bootstrap.bundle.min.js" integrity="sha384-ygbV9kiqUc6oa4msXn9868pTtWMgiQaeYH7/t7LECLbyPA2x65Kgf80OJFdroafW" crossorigin="anonymous"></script>

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM