Skip to content

Commit

Permalink
fix: relative links
Browse files Browse the repository at this point in the history
  • Loading branch information
AloisSeckar committed Apr 2, 2024
1 parent 854c65e commit a4893df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/guide/components/slots.md
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ function BaseLayout(slots) {

Sometimes you want to render something based on whether or not a slot is present.

You can use the [$slots](https://vuejs.org/api/component-instance.html#slots) property in combination with a [v-if](https://vuejs.org/guide/essentials/conditional.html#v-if) to achieve this.
You can use the [$slots](/api/component-instance.html#slots) property in combination with a [v-if](/guide/essentials/conditional.html#v-if) to achieve this.

In the example below we define a Card component with two conditional slots: `header` and `footer`.
When the header / footer is present we want wrap them to provide additional styling:
Expand Down

0 comments on commit a4893df

Please sign in to comment.