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
2.3.7
window 11
18.12.0
Chrome 125
https://codesandbox.io/p/devbox/zv29g5?migrateFrom=xz2w39
markdown 中 import DemoBlock from '@/demoblock' 这种引入方式在页面编辑代码时可以正常实时预览, 但是换成 import DemoBlock from 'demoblock' 后只可以预览,当修改代码时预览会出现以下错误:
import DemoBlock from '@/demoblock'
import DemoBlock from 'demoblock'
已在 .dumirc.ts 中配置了 alias
在页面上编辑代码应该也是可以实时预览
Live demo 没有识别到 alias?
No response
The text was updated successfully, but these errors were encountered:
已解决,参考 https://github.com/ant-design/ant-design/blob/3952fd8312a20bbbb1dc4ec2f2d66e9f1d773a7e/.dumirc.ts#L40
alias: { 'foo': path.join(__dirname, 'your path'), },
Sorry, something went wrong.
No branches or pull requests
Version
2.3.7
OS Version
window 11
Node.js Version
18.12.0
Browser Version
Chrome 125
Link to minimal reproduction
https://codesandbox.io/p/devbox/zv29g5?migrateFrom=xz2w39
Steps to reproduce
markdown 中
import DemoBlock from '@/demoblock'
这种引入方式在页面编辑代码时可以正常实时预览,但是换成
import DemoBlock from 'demoblock'
后只可以预览,当修改代码时预览会出现以下错误:已在 .dumirc.ts 中配置了 alias
What is expected?
在页面上编辑代码应该也是可以实时预览
What is actually happening?
Live demo 没有识别到 alias?
Any additional comments? (optional)
No response
The text was updated successfully, but these errors were encountered: