s3e36 template

This commit is contained in:
Tyrel Souza 2018-04-13 22:53:02 -04:00
parent c5776f88d5
commit b7bc1d8829
No known key found for this signature in database
GPG Key ID: 5A9394D4C30AEAC0

View File

@ -11,6 +11,10 @@
<p v-if="show">You can see me</p> <p v-if="show">You can see me</p>
<p v-else>Now you see me</p> <p v-else>Now you see me</p>
<template v-if="show">
<h1>Heading</h1>
<p>Inside a template</p>
</template>
<p>Do you also see me?</p> <p>Do you also see me?</p>
</div> </div>
<script src="app.js" charset="utf-8"></script> <script src="app.js" charset="utf-8"></script>