wepy
project must import less
file, but weui-wsss
only provide wxss
files, wxss2less
can rename file name to less
, and replace the .wxss
to .less
in @import
.
npm install -g wxss2less
Go to wxss style file folder, and run:
wxss2less
or you can give the wxss folder as a argument like this:
wxss2less src/style
it's done!