@Eco012390 Yeah, that's "a thing". Check out v-cloak: http://vuejs.org/api/#v-cloak
Mar 30, 2016
4
Level 7
Vue.js and laravel blade?
I'm learning Vue.js in my laravel 5.2 folder and I noticed that wherever I refresh the page it shows the data name first before outputting the actual data. I suspect that it is because of blade @ within {{ }} do you think this is the problem? or not?
This is the code I used.
<div id="app">
<h1> @{{ message }} </h1>
</div>
<script src={{ asset('js/vendor.js') }}></script>
<script>
new Vue ({
el: '#app',
data: {
message: 'hellow world'
}
});
</script>
what is the solution to this problem? I need your help guys T_T
Level 14
1 like
Please or to participate in this conversation.