Communication between Vue. js components and vue. js Components
Preface
Because Vue. js is very interested, and the technology stack that we usually work on is also Vue.
Vue. js uses vue-router to redirect to a page. vue. jsvue-router
Preface
When using Vue. js for a project, a page consists of multiple components. Therefore, the traditional href is not suitable when you jump to the page. Therefor
Vue. js learning example and vue. js learning example
This article will share with you a summary of Vuejs and a small example of webapi calling. At the end of the year, I will try to share more with you, hoping to help you; in this chapter, I hope you will like it, and I also hope you can scan more code for support and
(Modifiers) is a special suffix starting with a full stop. Used to indicate that commands should be bound in a special way. For example, the. literal modifier tells the command to parse its value into a literal string rather than an expression:
Of course, this does not seem to make sense, because we only need to use href = "/a/B/c" without using a command. This example only demonstrates the syntax. Later we will see more practical usage of modifiers.
Abbreviations
The v-prefix is a visual hint
, sometimes to DOM elements, and sometimes to components. Bind events in HTMLv-on:click-"event"In this case, the evet name should not contain uppercase letters, because it is case-insensitive in 1.x, so if we writev-on:click="myEvent"An error occurs when writing myEvent in js. Therefore, avoid using uppercase letters when binding Event 1. x in vuejs. This restriction is not found in 2.0!
Differences between v-if and v-show
V-if directly does not rende
top 3, view other Vue framework source codeNow look at the beginning of the article HTMLIn conjunction with the Vue component documentation, the above is an encapsulation of the input tag.Of course, the above is only the basis of component, the package of components have to combine a lot of other things, to understand the framework of the source code also need to learn
Vue. js implements a custom paging component vue-paginaiton and vue paging Components
Vue implements a paging component vue-paginaiton
After using vue for a while, I don't want to direc
Build a Vue. js Project template and a vue. js TemplatePreface
Since the beginning of this year (2017), our team began to introduce "Vue. js" to develop mobile products. As the leader of the team, my first task is to design the ov
Vue jsx User Guide and vue. js method using jsx syntax, vue. jsjsx
The vue jsx syntax is different from the react jsx syntax, which is recorded here.
Let component = null // if statement if (true) {component = (
Now let's take a look at how
Basic knowledge of vue. js declarative rendering and condition and loop, basic knowledge of vue. js
The specific content of vue. js declarative rendering and conditions and loops will be shared with you.
Bind DOM element text valu
Vue-cli and Element-ui encapsulate vue Based on cropper. js to implement the image cropping component function. vue-clielement-ui
In front-end work, image cropping is often required,cropper.jsIs an excellent front-end plug-in with a wide range of APIs.
This article encapsulates the image cropping plug-in the
Transition and animation are required for Vue. js every day, and transition animation for vue. js
With the transition system of Vue. js, You can automatically apply the transition effect when an element is inserted or removed from
Vue. js implements data pulling and updating using custom commands. vue. js customizes data pulling and updating.
Preface
The code snippet of this article is located in the single file component of vue, that is. in the file at the end of
Vue. js: custom components and vue. js
OverviewWe know that a Vue instance can be bound to a view through el, that is, it acts as a ViewModel. In fact, a Vue instance can not only act as a ViewModel, in addition, you can see a c
In Vue. js, the three solutions that easily solve v-for execution errors are: vue. jsv-
Preface
Vue. js is an open-source front-end development library that provides efficient data binding and flexible component systems through simple APIs. In the complex front-end ecosystem
Let's talk about the transition effect of Vue. js and the transition effect of Vue. js.
With the transition system of Vue. js, you can easily add transition animation effects to the process of DOM node insertion/removal.
When Vue. js is used to display data, the original code is flashed on the page, and vue. js is flashed.
I started to learn how to use Vue. js today, but I found a problem during the lea
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.