@remotion/fonts
@remotion/fonts
包提供了一个 API,用于将本地字体或来自 URL 的远程字体加载到 Remotion 组件中。
安装
- npm
- yarn
- pnpm
- bun
npm i --save-exact @remotion/fonts@4.0.206
npm i --save-exact @remotion/fonts@4.0.206
pnpm i @remotion/fonts@4.0.206
pnpm i @remotion/fonts@4.0.206
bun i @remotion/fonts@4.0.206
bun i @remotion/fonts@4.0.206
yarn --exact add @remotion/fonts@4.0.206
yarn --exact add @remotion/fonts@4.0.206
Also update
remotion
and all `@remotion/*`
packages to the same version.Remove all
^
character in front of the version numbers of it as it can lead to a version conflict.APIs
以下 API 可用: