This time I will show you how to use less in angular6, and what are the precautions for using less in angular6. The following is a practical case, let's take a look.
New projectng new<a href="//m.sbmmt.com/wiki/165.html" target="_blank"> [appname] --style less</a>
reference with the suffix less and set the following content in the angular.json file
{ "$schema": "./node_modules/@angular/cli/lib/config/schema.json", "version": 1, "newProjectRoot": "projects", "projects": { "ngTest": { "root": "", "sourceRoot": "src", "projectType": "application", "prefix": "app", "schematics": { "@schematics/angular:component": { "styleext": "less" } } ...... }
How to use async function in js
How to optimize js async function
The above is the detailed content of How to use less in angular6. For more information, please follow other related articles on the PHP Chinese website!