R
R
Roman Rakzin2016-06-05 22:08:09
Vue.js
Roman Rakzin, 2016-06-05 22:08:09

How to not display {{ }} characters on vue.js in the first seconds?

During the loading of the site, {{ }} characters are visible in the first seconds Site on vue.js .
How to hide them?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
A
Alexander Alekseev, 2016-10-11
@TwoRS

use v-cloak
directive vuejs.org/api/#v-cloak

K
Konstantin Kitmanov, 2016-06-05
@k12th

1) Show the loader until the data is ready
2) Do not start the application until the data is ready.
And better than that, and that.

B
BannedOnStackoverflow, 2017-02-08
@BannedOnStackoverflow

v-text="foo" will display empty space until loaded

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question