Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

docs(plugins): add directive example #5667

Merged
merged 5 commits into from
Jul 6, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
docs: fix heading level
  • Loading branch information
danielroe authored Jul 1, 2022
commit c587db13fadfb984e5956446c7c027ffabfc0d67
2 changes: 1 addition & 1 deletion docs/content/2.guide/3.directory-structure/11.plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export default defineNuxtPlugin((nuxtApp) => {
})
```

### Vue directive
## Vue directives

Similarly, you can register a custom Vue directive in a plugin. For example, in `plugins/directive.ts`:

Expand Down