Vue Deep study notes - 01 hours

Declare

    First of all, I said earlier, this blog is a personal start learning from 0 vue, large level experts vue God, please pass, do not waste time here, if you can read on it, and I wish you the same spirit of enthusiasm and beginner from scratch patience begins to get started a good front-end framework vue vue online learning materials on video and many, many, why I recorded this series, study notes, mainly for two reasons: 1, to provide a progressive approach and complete notes progressive, serious and responsible notes, 2, relative to the video in terms of learning from the notes will be much faster, I want to use personal video learning time for everyone to save time to look at the video. If you agree and are interested, very happy to share with you. Now we officially entered the study notes ...


Download and install

    Beginner, in order to get started, let's use the direct introduction vue.js library to learn , first of all, we entered into vue official website: https://cn.vuejs.org/v2/guide/installation.html Click

image.png

Download vue.js library. Create a directory on your disk to as: VUE-Learn , and to download a good js copied into, and then create a standard index.html file html5 structure, and use the <script> tag introduced vue.js to change the page.


Examples basis

    vue gives us a view of the model data two-way binding, that is good as long as you define the data model, initialization vue instance to register with the corresponding binding view, the data model changes, or change the view of the data, the data is synchronized in both directions . A 1 is given below, define the view 2, 3 define the data model, view and register vue instantiated data model and 4, the data model is automatically changed to reflect the instance view:

image.png

Guess you like

Origin blog.51cto.com/14522065/2436373