Trying to isolate bootstrap by using Less

梦想的初衷 提交于 2019-12-11 17:54:20

问题


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.


回答1:


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

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

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
  • ...


来源:https://stackoverflow.com/questions/45551445/trying-to-isolate-bootstrap-by-using-less

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!