vue3+ts 项目启动报错
No loader is configured for ".vue" files: src/views/.......vue
....
ERROR: Transforming async generator functions to the configured target environment ("es2015") is not supported yet
如下图
问题定位:
vite 集成 mockjs 配置错误
原因是我想复用api文件中的的请求地址,
解决办法:
启动成功,mock正常使用