Created
November 16, 2016 23:18
-
-
Save IniZio/06bfa30c36c1da82c5978f4baa2ed2bf to your computer and use it in GitHub Desktop.
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> | |
<!-- HTML template part --> | |
<div id="app"> | |
<h1>{{Title}}</h1> | |
<p>bla bla bla bla</p> | |
</app> | |
</template> | |
<script> | |
// JS part | |
export default { | |
data() { | |
return { | |
Title: 'Hello World' | |
} | |
} | |
} | |
</script> | |
<style lang="sass"> | |
/* Style part (lang can be sass, scss, stylus, other style languages supported by webpack loaders) */ | |
#app { | |
color: red; | |
} | |
</style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment