How to configure packaged less? for UmiJS

how to configure packaged less? for UmiJS
projects created by scaffolding are full of css files: ide/create-umi-app.html" rel=" nofollow noreferrer "> https://umijs.org/zh/guide/cr.

Feb.15,2022

is supported by default. Can't be packaged to see if the image path in the style file is incorrect


is supported by default. Just change the css in the scaffolding to less,import 's css and change it to less.

if you use ts, add declare module'* .less'; to typings.d.ts in the root directory of the project, otherwise you will report an error:

image.png

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1ea96b1-1f59.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1ea96b1-1f59.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?