导入文件路径问题 #3522
Unanswered
KingDracula
asked this question in
Q&A
导入文件路径问题
#3522
Replies: 1 comment 3 replies
-
测试发现使用这个swc模式调试会报错midway-bin dev --ts --fast=swc |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the problem(描述问题)
import { UserService } from '../service/user.service';
使用这种相对路径import是可以工作的,但是如果是使用vscode自动导入的路径本地调试启动的时候会找不到module
import { UserService } from 'src/service/user.service'
麻烦问一下这个需要怎么配置才可以支持?
Midway Versions(Midway 版本)
[email protected]
Beta Was this translation helpful? Give feedback.
All reactions