vuejs/v2.vuejs.org

“Content Distribution with Slots” Confusing examples used

hm20062006ok opened this issue · 0 comments

Components Basics > Content Distribution with Slots

Just like with HTML elements, it’s often useful to be able to pass content to a component, like this:

<alert-box>
Something bad happened.
</alert-box>

Which might render something like:
Error! Something bad happened.

"Something bad happened" should be rendered after adding "slot"