Last active
September 13, 2017 17:06
-
-
Save jcramirez/4f1f91fbff297ec2ab6f6e7dea074f13 to your computer and use it in GitHub Desktop.
Prevent showing mustaches before Vue.js is ready
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
// css | |
[v-cloak] { | |
display: none; | |
} | |
// html | |
<div v-cloak> | |
{{ message }} | |
</div> | |
// https://vuejs.org/v2/api/#v-cloak |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment