Instance code using LESS in Angular 6

NG New [Appname] –Style Less

Existing project

Modify * .css file and reference The suffix is ​​LESS and sets the following in the Angular.json file

{“$ schema”: “./node_modules/@angular/cli/lib/config/schema .json “,” version “: 1,” newProject “:” projects “,” projects “: {” ngtest “: {” root “:”, “source”: “src”, “projecttype”: “Application” , “prefix”: “app”, “schematics”: {“@ schema / angular: component”: {“styleext”: “less”}} …}
  
Summary

The above is the instance code for the use of LESS in Angular 6, I hope that if you have any questions about everyone. Welcome to me, Xiaobian will reply to everyone in time!

© Copyright Notice
THE END
Just support it if you like
like0
share
comment Grab the couch

Please log in to comment