N
N
Nikolai Chuprik2019-04-29 14:25:36
Vue.js
Nikolai Chuprik, 2019-04-29 14:25:36

How to avoid showing unrendered markup in the browser at load time in Vue?

When loading the page, especially when the Internet lags, you can briefly see Vue markup on the screen, all of these, {{veryLongNamedObject.hasOneMorePropertyInside}}
as well as a curved layout of elements with classes that the render should assign..

Answer the question

In order to leave comments, you need to log in

2 answer(s)
0
0xD34F, 2019-04-29
@choupa

https://ru.vuejs.org/v2/api/index.html#v-cloak

R
Rodion Almetov, 2019-04-29
@radar4ick

Can I have an example template?
Try wrapping it in a template

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question