使用ElementUI的theme tool时报错

127 阅读1分钟

image.png

我在项目中执行到et -i [custom output file]命令时,报错:

image.png

解决办法参考这篇: stackoverflow.com/questions/5…

image.png

package.json加上上面配置后,重新npm install,然后再执行et -i [custom output file],就可以生成变量文件了。

image.png