We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5c68a3 commit 177e0d9Copy full SHA for 177e0d9
README.md
@@ -173,6 +173,24 @@ Will be rendered as
173
<p>This is My Cool App</p>
174
```
175
176
+You can override the existing frontmatter values by passing a props value to the component.
177
+
178
+```html
179
+<template>
180
+ <HelloWorld name="My Awesome App" />
181
+</template>
182
183
+<script>
184
+import HelloWorld from './README.md'
185
186
+export default {
187
+ components: {
188
+ HelloWorld,
189
+ },
190
+}
191
+</script>
192
+```
193
194
It will also be passed to the wrapper component's props if you have set `wrapperComponent` option.
195
196
## Document head and meta
0 commit comments