Skip to content
New issue

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

bug: markdown解析依赖报未定义的错误 #2193

Closed
anyuxuan opened this issue Sep 4, 2024 · 2 comments
Closed

bug: markdown解析依赖报未定义的错误 #2193

anyuxuan opened this issue Sep 4, 2024 · 2 comments
Assignees

Comments

@anyuxuan
Copy link

anyuxuan commented Sep 4, 2024

Version

2.4.9

OS Version

macOS 14.6.1

Node.js Version

18.16.0

Browser Version

128.0.6613.85

Link to minimal reproduction

Steps to reproduce

  1. 创建一个demos/Test.tsx demo组件,代码如下:
import { Button } from '@alifd/next';

export default () => {
  return <Button>按钮</Button>
}
  1. 在index.md中引入<code src="./demos/Test.tsx"></code>

What is expected?

期望:正常渲染demo

What is actually happening?

报错:Uncaught ReferenceError: detail_demo_test_deps_1 is not defined

Any additional comments? (optional)

我临时将版本降到2.4.7能正常使用

@Jinbao1001 Jinbao1001 self-assigned this Sep 4, 2024
@Jinbao1001
Copy link
Member

@anyuxuan 可以帮忙给个最小复现仓库么, 我在 example/normal 中尝试后, 没有复现.

@Jinbao1001
Copy link
Member

closed #2195

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants