diff --git a/docs/guide/extending-default-theme.md b/docs/guide/extending-default-theme.md index b5e70177..3dda161d 100644 --- a/docs/guide/extending-default-theme.md +++ b/docs/guide/extending-default-theme.md @@ -58,6 +58,10 @@ export default DefaultTheme } ``` +:::warning +If you are using optional components like the [Team Page](/reference/default-theme-team-page) components, make sure to also import them from `vitepress/theme-without-fonts`! +::: + If your font is a local file referenced via `@font-face`, it will be processed as an asset and included under `.vitepress/dist/assets` with hashed filename. To preload this file, use the [transformHead](/reference/site-config#transformhead) build hook: ```js