Closed KeeepTrying closed 6 years ago
一导入就报错,去掉就没事,而且注释后热启动还是报错,必须重启 但是在App.vue中style下导入时可以的
最新版应该支持这种写法了,旧版可以用 @/xxx 这种方式引入,或者通过 // app-only 做下标识
@/xxx
// app-only
mpvue-entry@1.4.4,就是最新版了,@是可以的,相对路径并不阔以
相对路径应该会转为绝对路径的,我明天再测下
@jpdan 修复了,之前确实只匹配了 import xxx from './xxx' 的语句,v1.4.7
import xxx from './xxx'
一导入就报错,去掉就没事,而且注释后热启动还是报错,必须重启 但是在App.vue中style下导入时可以的