-
-
Notifications
You must be signed in to change notification settings - Fork 657
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(logging): cleanup logging (#1733)
- Loading branch information
Showing
2 changed files
with
21 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Components usage | ||
|
||
Content module allows you to use your custom Vue components inside markdown contents. | ||
|
||
Components that are used in Markdown has to be marked as `global` in your Nuxt app. | ||
|
||
## `components/content` directory | ||
|
||
**@nuxt/content** provides a directory that will automatically mark your components as globals. | ||
|
||
Every component created inside the `components/content` directory will be available in Markdown files. | ||
|
||
- You can create any kind of component | ||
- You can overwrite any existing components by following same naming | ||
- Creating `components/content/ProseA.vue` will overwrite any other existing `ProseA.vue` component injected from a module or any [extends](https://nuxt.com/docs/api/configuration/nuxt-config/#extends) layer. | ||
|
||
## Global components in Nuxt | ||
|
||
All global components in your Nuxt app will be available to use in your markdown files. | ||
|
||
For more information about global components, visit [Nuxt 3 docs](https://nuxt.com/docs/guide/directory-structure/components). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters