Umi: 在umi + ts 项目中使用less,引入less,然后vscode中报错,说找不到模块的问题,但是可以正常使用

Created on 18 Nov 2019  ·  2Comments  ·  Source: umijs/umi

1.在umi + ts 项目中使用less,引入less,然后vscode中报错,说找不到模块的问题,但是可以正常使用

image

Context

  • Umi Version:
  • Node Version:
  • Platform:

Most helpful comment

在 typings.d.ts 加入这一句就行了:

image

All 2 comments

在 typings.d.ts 加入这一句就行了:

image

Was this page helpful?
0 / 5 - 0 ratings