scaffold-element
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseScaffold a Remotion Element
搭建 Remotion Element
Read the Element guidelines for design and implementation guidance and the Element contribution guide for the official gallery submission process. Then follow its Develop the Element section.
After scaffolding, suggest opening Docs Studio to preview the Element. If the user agrees, start it without opening a browser automatically:
bash
cd packages/docs
bunx remotion studio --no-openRead the URL from the command output and open that URL in the available browser.
阅读 Element 指南,了解设计和实现指导;阅读 Element 贡献指南,了解官方图库提交流程。然后按照其中的 开发 Element 部分操作。
完成脚手架搭建后,建议打开 Docs Studio 预览该 Element。如果用户同意,请在不自动打开浏览器的情况下启动它:
bash
cd packages/docs
bunx remotion studio --no-open从命令输出中读取 URL,并在可用的浏览器中打开该 URL。