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.2.13
macOS 14.4.1
22.1.0
Google Chrome 126.0.6452.3
https://github.com/GuoDapeng/dumi_test/blob/main/docs/index.md
新建一个项目,或者以前的项目删除 pnpm-lock.yaml 或者 yarn.lock。
pnpm-lock.yaml
yarn.lock
在任意文档里面添加:
/** * inline: true */ import React from 'react'; const App: React.FC = () => { return <>APP</> } export default App;
pnpm install 或者 yarn install
pnpm install
yarn install
启动项目 pnpm start 或者 yarn start
pnpm start
yarn start
希望顺利启动
No response
The text was updated successfully, but these errors were encountered:
报错是符合预期的,原因是在 jsx 代码块里使用了 TypeScript 语法
Sorry, something went wrong.
非常感谢,我一直存在一个实践错误。需要使用 tsx 包裹需要渲染的组件。
tsx
No branches or pull requests
Version
2.2.13
OS Version
macOS 14.4.1
Node.js Version
22.1.0
Browser Version
Google Chrome 126.0.6452.3
Link to minimal reproduction
https://github.com/GuoDapeng/dumi_test/blob/main/docs/index.md
Steps to reproduce
新建一个项目,或者以前的项目删除
pnpm-lock.yaml
或者yarn.lock
。在任意文档里面添加:
pnpm install
或者yarn install
启动项目
pnpm start
或者yarn start
What is expected?
希望顺利启动
What is actually happening?
Any additional comments? (optional)
No response
The text was updated successfully, but these errors were encountered: