Created
November 6, 2018 06:12
-
-
Save Svtter/5532d3bb7b2790a0f8599d761e6d46c2 to your computer and use it in GitHub Desktop.
vue-cli instant prototyping example file.
This file contains 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
<template> | |
<div id="app"> | |
<h1>test</h1> | |
<p>{{ greeting }} world!</p> | |
</div> | |
</template> | |
<script> | |
export default { | |
data: function () { | |
return { | |
greeting: 'Hello' | |
} | |
} | |
} | |
</script> | |
<style scoped> | |
p { | |
font-size: 2em; | |
text-align: center; | |
} | |
</style> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment