s9e123 default slots

This commit is contained in:
Tyrel Souza 2018-04-17 23:14:50 -04:00
parent 61dd86c91e
commit 83ba9f9a29
No known key found for this signature in database
GPG Key ID: 5A9394D4C30AEAC0
2 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@
<div class="col-xs-12">
<app-quote>
<h2 slot="title">{{quoteTitle}}</h2>
<p slot="content">A Simple Quote</p>
<p>A Simple Quote</p>
</app-quote>
</div>
</div>

View File

@ -2,17 +2,17 @@
<div>
<div class="title">
<slot name="title"></slot>
<span style="color: #ccc"><slot name="subtitle">The Subtitle</slot></span>
</div>
<hr>
<div>
<slot name="content"></slot>
<slot></slot>
</div>
</div>
</template>
<script>
export default {
}
</script>