尝试通过使用Less隔离引导程序 [英] Trying to isolate bootstrap by using Less

查看:86
本文介绍了尝试通过使用Less隔离引导程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在按照本教程 https://formden.com/blog/isolate-bootstrap我在Mac上使用Terminal.我已经完成了步骤1-3.当我尝试执行步骤4时,它会显示"lessc:ENOENT:没有此类文件或目录,请打开'/Users/mikelee/prefix.less'".任何人都可以找出问题所在或提出更好/更容易的方法来隔离引导CSS吗?谢谢.

I am following this tutorial https://formden.com/blog/isolate-bootstrap I am using Terminal on my Mac. I have done steps 1-3. When I try to do step 4 it says "lessc: ENOENT: no such file or directory, open '/Users/mikelee/prefix.less' ". Can anyone figure out what is going wrong or suggest a better/easier way to isolate bootstrap css? Thanks.

推荐答案

您可以对Bootstrap 4.1(与LESS编译)使用隔离的CSS-

You can use isolated css for Bootstrap 4.1 (compiled with LESS) -

https://github.com/cryptoapi/Isolate-Bootstrap-4.1 -CSS-主题

它具有独立的主题CSS-

It have isolated css for themes -

  • bootstrapcustom.min.css - default bootstrap 4.1 isolated style
  • https://bootswatch.com/cerulean/ darkly.min.css - isolated css
  • https://bootswatch.com/darkly/ flatly.min.css - isolated css
  • https://bootswatch.com/flatly/ litera.min.css - isolated css
  • https://bootswatch.com/litera/ lux.min.css - isolated css
  • https://bootswatch.com/lux/ minty.min.css - isolated css
  • ...

这篇关于尝试通过使用Less隔离引导程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆