Skip to main content

Remotion 根

Remotion 根目录是执行 Remotion 命令的目录。 它会影响 public dir.env 文件和 配置文件 等的默认位置。

🌐 The Remotion Root is the directory in which Remotion commands get executed in.
It influences the default location of the public dir, the .env file and the config file amongst others.

Remotion 根目录是哪个?

🌐 Which directory is the Remotion Root?

要确定 Remotion 根目录,请从执行命令或运行脚本的目录开始,向上查找,直到找到包含 package.json 文件的目录。 许多 Remotion CLI 命令如果传入 --log=verbose,也会打印 Remotion 根目录。

🌐 To determine the Remotion Root, take the directory from which you execute commands or run scripts, and go upwards until you hit a directory that contains a package.json file.
Many Remotion CLI commands also print the Remotion Root directory if you pass --log=verbose.