Skip to content

Commit

Permalink
docs: added comment to code
Browse files Browse the repository at this point in the history
  • Loading branch information
404answernotfound committed Apr 14, 2024
1 parent 8a74339 commit 508de40
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/guide/essentials/component-basics.md
Expand Up @@ -466,9 +466,10 @@ Which might render something like:
Something bad happened.
:::

This can be achieved using Vue's custom `<slot>` element, which in our example is being used in the AlertBox component implementation:
This can be achieved using Vue's custom `<slot>` element:

```vue{4}
<!-- AlertBox.vue -->
<template>
<div class="alert-box">
<strong>This is an Error for Demo Purposes</strong>
Expand Down

0 comments on commit 508de40

Please sign in to comment.