Skip to content

[Docs] Support run demo code online #3

@Kimi-Gao

Description

@Kimi-Gao

在线调试代码
可以实时修改运行,最好在当前组件的页面进行调试,不是跳转到专门的一个页面

三种方案

  1. 用 codesandbox 在线网站,但国内访问速度太慢,体验不好,难度最小
  2. 自己搭建一个在线运行页面放在网站上,点击运行按钮自动跳转到该页面,体验中等,难度中等
  3. 在当前页面实时运行,体验最好,难度也最大

https://github.com/mdx-js/mdx

reference issue: #2

https://github.com/FormidableLabs/react-live

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions