使用2.1.0或2.1.2版本运行起来之后报这个错:Error: Cannot find module './config/index.js'
xuganggit opened this issue · comments
xuganggit commented
Cong-Cong Pan commented
@xuganggit 是的,新版本的 Taro 配置文件支持通过 TypeScript 编写,但是插件并不支持该特性。
这个问题可能会跟随这个 #36 一起解决。
fangao1024 commented
有没有其他的备选方案或者可以解决这个问题 只能通过降低版本来操作吗
Cong-Cong Pan commented
有没有其他的备选方案或者可以解决这个问题 只能通过降低版本来操作吗
@fangao1024 config 目录下的文件改为 *.js