Last active
July 2, 2020 16:48
-
-
Save artrayd/9767d44c5b66db60c2da64d15f4a36cd 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
// inside html template | |
<span>{{ lettersAmount }} letters</span> | |
// inside script | |
computed: { | |
lettersAmount: function() { | |
return this.letters.length; | |
}, | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment