Created
November 22, 2015 16:24
-
-
Save diverted247/188accc354f3a10befce to your computer and use it in GitHub Desktop.
ts in .vue files
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> | |
<h2>{{msg}}</h2> | |
</template> | |
<script lang="ts"> | |
export function data() { | |
return { | |
msg: 'Hello from Component AAA!' | |
}; | |
}; | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment