packages/docs/docs/preview.mdx
import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem';
You can preview your video by starting the Remotion Studio:
<Tabs defaultValue="Regular templates" values={[ { label: 'Regular templates', value: 'Regular templates', }, { label: 'Next.js and React Router 7 templates', value: 'Next.js and React Router templates', }, ] }> <TabItem value="Regular templates">
npm run dev
npm run remotion
This is a shorthand for the studio command of the Remotion CLI:
npx 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.
Learn more about the Remotion Studio.
:::note
In older projects, npm start was used over npm run dev.
:::