预览你的视频
你可以通过启动 Remotion Studio 来预览你的视频:
🌐 You can preview your video by starting the Remotion Studio:
- Regular templates
- Next.js and React Router 7 templates
npm run devnpm run remotion这是 Remotion CLI 的 studio 命令的一个简写:
🌐 This is a shorthand for the studio command of the Remotion CLI:
npx remotion studio服务器将会在端口 3000 上启动(如果该端口不可用,则使用更高的端口),并且 Remotion Studio 应该会在浏览器中打开。
🌐 A server will be started on port 3000 (or a higher port if it isn't available) and the Remotion Studio should open in the browser.
了解有关 Remotion Studio 的更多信息。
🌐 Learn more about the Remotion Studio.
note
在较早的项目中,npm start 被用来替代 npm run dev。