Closed guangliang2019 closed 1 month ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
prototype-ui | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Aug 26, 2024 7:46am |
原来 _code 还是要自己手写贴进去,我还以为能用什么手段直接读出来呢。这样万一修改了同步上可能有点问题。高亮挺好的简单粗暴2333333
主要还是目前 preview 的实际代码和预想中的差太多,后面可能改成 CLI 生成的
doc-code
组件作为抽象类,有三个必须实现的属性_preview
预览组件的渲染逻辑_code
预览组件的代码实现_highlightRules
代码着色的规则