diff --git a/src/views/badge/BadgeDoc.vue b/src/views/badge/BadgeDoc.vue index 2c273117a..086923c1d 100644 --- a/src/views/badge/BadgeDoc.vue +++ b/src/views/badge/BadgeDoc.vue @@ -77,6 +77,15 @@ app.directive('badge', BadgeDirective); <h1>Heading 1 <Badge value="New"></Badge></h1> <h2>Heading 2 <Badge value="New"></Badge></h2> + + +
Content can easily be customized with the default slot instead of using the built-in display.
+
+<Slot>
+ Content
+</Slot>
+