We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
根据提供的midway-vue3的例子中,typings/data 中定义的接口,在controlller /api里无法引用,提示找不到模块。在其他模块中却可以正常引用,这跟服务端渲染有关???
The text was updated successfully, but these errors were encountered:
1、提供复现 2、用import type,这属于ts基础问题与ssr无关
Sorry, something went wrong.
ts用的比较少,第一次用,在service里这样写 import { loginInfo } from '/typings/data' 没有问题,但是在api里只能用import type { loginInfo } from '/typings/data'。还有在使用midway validator时候,api 请求无效,找不到路由,不知道是不是定义错了
No branches or pull requests
根据提供的midway-vue3的例子中,typings/data 中定义的接口,在controlller /api里无法引用,提示找不到模块。在其他模块中却可以正常引用,这跟服务端渲染有关???
The text was updated successfully, but these errors were encountered: