Skip to content

Commit d0ca761

Browse files
committed
fix: mistake
1 parent 2478783 commit d0ca761

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

docs/versions/v3/language-elements/directives.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -175,10 +175,6 @@ When defining a layout file for your template, you can reserve placeholders for
175175
</html>
176176
```
177177

178-
:::info Pass Variables to the Layout
179-
All variables passed to the template file are also available in the layout file. This means you can replace `@reserve("title")` with <code v-pre>{{ title }}</code> and define the `title` variable in each template file. In other words, variables available in the template file can be seamlessly used within the layout file.
180-
:::
181-
182178
### Important notes
183179

184180
- **Takes one argument.** `@reserve` directive accepts a single argument: the name of the reserved placeholder. This name will be used in the [`@insert`](#insert) directive to insert content into the corresponding placeholder.

0 commit comments

Comments
 (0)