1.在umi + ts 项目中使用less,引入less,然后vscode中报错,说找不到模块的问题,但是可以正常使用
在 typings.d.ts 加入这一句就行了:
https://github.com/umijs/umi/issues/2322#issuecomment-486944137
Most helpful comment
在 typings.d.ts 加入这一句就行了: