s9e126 keep alive

This commit is contained in:
Tyrel Souza 2018-04-17 23:27:03 -04:00
parent 45fa5dc5ee
commit 0dfeb0cda9
No known key found for this signature in database
GPG Key ID: 5A9394D4C30AEAC0

View File

@ -6,14 +6,13 @@
<button @click="selectedComponent = 'appAuthor'">Author</button> <button @click="selectedComponent = 'appAuthor'">Author</button>
<button @click="selectedComponent = 'appNew'">New</button> <button @click="selectedComponent = 'appNew'">New</button>
<hr> <hr>
<!--<app-quote>--> <keep-alive>
<component :is="selectedComponent"
<!--</app-quote>--> >
<component :is="selectedComponent" <h2 slot="title">{{quoteTitle}}</h2>
> <p>A Simple Quote</p>
<h2 slot="title">{{quoteTitle}}</h2> </component>
<p>A Simple Quote</p> </keep-alive>
</component>
</div> </div>
</div> </div>
</div> </div>