问题出现场景:在vue3+ts学习过程中遇到报这个错bug复盘在启动写vue项目后,新增一个vue,这个script标签中未添加lang=ts 修改script lang=ts后,发现无论怎么修改ts都会报这个错,Module ‘".vue"’ has no exported member ‘xxx’. Did you mean to use 'import xxx from ".vue"’ in
在启动写vue项目后,新增一个vue,这个script标签中未添加lang=ts 修改script lang=ts后,发现无论怎么修改ts都会报这个错,Module ‘".vue"’ has no exported member ‘xxx’. Did you mean to use 'import xxx from ".vue"’ instead?
所有评论(0)