🎥 Make videos programmatically with React
use @latest fixes #2732
Jonny Burgerc9fb77f007db
diff --git a/packages/docs/src/components/TemplateModalContent.tsx b/packages/docs/src/components/TemplateModalContent.tsxindex 1dd30bdfc6..ca3a836e4f 100644--- a/packages/docs/src/components/TemplateModalContent.tsx+++ b/packages/docs/src/components/TemplateModalContent.tsx@@ -156,7 +156,7 @@ export const TemplateModalContent: React.FC<{setShowPackageManagers((s) => !s);}, []);- const npmCommand = `npx create-video --${template.cliId}`;+ const npmCommand = `npx create-video@latest --${template.cliId}`;const yarnCommand = `yarn create video --${template.cliId}`;const pnpmCommand = `pnpm create video --${template.cliId}`;diff --git a/packages/docs/src/remotion/Template.tsx b/packages/docs/src/remotion/Template.tsxindex d345161646..3999494d22 100644--- a/packages/docs/src/remotion/Template.tsx+++ b/packages/docs/src/remotion/Template.tsx@@ -110,7 +110,7 @@ export const TemplateComp: React.FC<{><div><div style={{ opacity: 0.7 }}>Install this template</div>- <div>npx create-video --template {template.cliId}</div>+ <div>npx create-video@latest --template {template.cliId}</div></div></div><div