Created
June 24, 2017 07:13
-
-
Save rosd89/b12ddaace8094db70bddb89aae2a6a50 to your computer and use it in GitHub Desktop.
sam.vue-study.step1-2.html
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="app"> | |
<span v-if="message.length > 0">{{ message }}</span> | |
</div> | |
<script src="https://unpkg.com/vue"></script> | |
<script type="application/javascript"> | |
new Vue({ | |
el: '#app', | |
data: { | |
message: 'Hello Vue' | |
} | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment