Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
runyasak committed Dec 7, 2024
1 parent c5c68a3 commit 177e0d9
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,24 @@ Will be rendered as
<p>This is My Cool App</p>
```

You can override the existing frontmatter values by passing a props value to the component.

```html
<template>
<HelloWorld name="My Awesome App" />
</template>

<script>
import HelloWorld from './README.md'
export default {
components: {
HelloWorld,
},
}
</script>
```

It will also be passed to the wrapper component's props if you have set `wrapperComponent` option.

## Document head and meta
Expand Down

0 comments on commit 177e0d9

Please sign in to comment.