s9e123 default slots
This commit is contained in:
parent
61dd86c91e
commit
83ba9f9a29
@ -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>
|
||||
|
@ -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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user