create-vibe-motion
v1.0.8
Published
Create a new Vibe Motion Remotion scaffold project
Maintainers
Readme
create-vibe-motion
快速创建一个可运行的 Vibe Motion(Remotion)模板项目。
新建模板
推荐使用:
npx create-vibe-motion@latest my-app如果希望连 npx 拉取脚手架包本身也走镜像,可这样执行:
npm_config_registry=https://registry.npmmirror.com npx create-vibe-motion@latest my-app然后进入项目并启动:
cd my-app
pnpm dev常用用法
1) 不传目录名
npx create-vibe-motion@latest默认会创建 ./vibe-motion-app。
2) 在当前目录初始化
npx create-vibe-motion@latest . --force3) 只生成文件,跳过依赖安装
npx create-vibe-motion@latest my-app --skip-install
cd my-app
pnpm install --registry=https://registry.npmmirror.com
pnpm dev4) 指定安装源
npx create-vibe-motion@latest my-app --registry=https://registry.npmmirror.comCLI 参数
--force,-f:目标目录非空时强制覆盖。--skip-install:跳过自动安装依赖。--registry:指定依赖安装使用的 registry,例如https://registry.npmmirror.com。
环境要求
- Node.js
>= 18.18.0
行为说明
- 脚手架会自动写入项目的
package.json和.gitignore。 - 脚手架安装依赖时只使用
pnpm。 - 若机器未安装
pnpm,会先尝试使用npm自动安装pnpm,再继续pnpm install。 - 默认安装源为
https://registry.npmmirror.com,若已配置npm_config_registry或传入--registry,则按该值安装。
