问题
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