June 2017
Intermediate to advanced
1083 pages
22h 12m
English
LESS happens to be written in JavaScript, so installing it can be as easy as downloading its JavaScript library (less.js), linking it to our index.html page, and letting its magic work without having to set up anything else.
Should we do that, then? Not a chance. As we said earlier, delegating the compilation task on the client side would be highly inefficient, especially in a client-intensive Angular 2-based native web app. This is what we're going to do instead:
style.less file to our project.style.css file into the /wwwroot/ folder..css file to the /wwwroot/index.html root application file.Read now
Unlock full access