Skip to content

Commit

Permalink
docs(migration): state how to register components in content folder…
Browse files Browse the repository at this point in the history
… as global components (#2935)
  • Loading branch information
BayBreezy authored Jan 2, 2025
1 parent 143e6b3 commit b7e3ae7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/content/docs/1.getting-started/4.migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ Don't worry, you don't need to modify your content files. We made sure that Cont
- We consolidated the `ProsePre`, `ProseCode`, and `ProseCodeInline` components
- `ProseCodeInline` is now `ProseCode`
- `ProseCode` is now `ProsePre`
- Components created under the `components/content` directory are no longer automatically registered as global components. If you use [dynamic rendering](https://vuejs.org/guide/essentials/component-basics.html#dynamic-components) to render these components outside markdown files, you must manually register them in your Nuxt app. Check out the [Nuxt - Custom Components Directories](https://nuxt.com/docs/guide/directory-structure/components#custom-directories) documentation for more information on how to do so.

### General Changes

Expand Down

0 comments on commit b7e3ae7

Please sign in to comment.