As a front-end rookie, in the usual development and learning, in addition to in-depth understanding of the various features of JavaScript and css, familiar with a framework is also essential. Vue is very popular because of its small, lightweight, learning and smoothing features.
Here is a summary of the pit and tricks of the little rookie.
1.Avoid double brackets when loading pages.
Official recommendation v-cloak
<style>
[v-cloak] {
display: none;
}
</style>
<div id=’app’ v-cloak>
{{message}}
</div>
2.I haven’t thought about it yet