CSS 如何在 HTML 中包含 SCSS 文件

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/15063834/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-29 21:46:18  来源:igfitidea点击:

How to include SCSS file in HTML

csssass

提问by Yuvaraj

I dont know how to include SCSS file in my website but I have completely developed .scss file using notepad. Please let me know how to include it in my website?

我不知道如何在我的网站中包含 SCSS 文件,但我已经使用记事本完全开发了 .scss 文件。请让我知道如何将其包含在我的网站中?

采纳答案by designerNProgrammer

You can't have a link to SCSS File in your HTML page.You have to compile it down to CSS First. No there are lots of video tutorials you might want to check out. Lynda provides great video tutorials on SASS. there are also free screencasts you can google...

您不能在 HTML 页面中包含指向 SCSS 文件的链接。您必须将其编译为 CSS First。不,您可能想查看很多视频教程。Lynda 提供了关于 SASS 的精彩视频教程。还有免费的截屏视频,你可以谷歌...

For official documentation visit this site http://sass-lang.com/documentation/file.SASS_REFERENCE.htmlAnd why have you chosen notepad to write Sass?? you can easily download some free text editors for better code handling.

有关官方文档,请访问此站点 http://sass-lang.com/documentation/file.SASS_REFERENCE.html为什么选择记事本来编写 Sass??您可以轻松下载一些免费的文本编辑器,以便更好地处理代码。