VUE] Introduction [2-VUE understood that the relationship + + vue vue and the node / the relationship vue-cli

 

Introduction ============ ============

vue  ---【https://cn.vuejs.org/v2/guide/

vue-cli --- 【https://cli.vuejs.org/

 

========== =========== text

1. What is the vue

vue is a progressive frame for constructing user interfaces.
Popular talk: 
VUE is a good vacancy has been set up, and simple to use jQuery library than this, can better achieve code reuse, reduce workload, furniture and appliances ranging framework Angular.js this phase than it will not pick a piece, I do not like and then put a piece of throw, even required and must be space-consuming! 


In short: 
VUE must do something, they will not do things outside of duty.

 

What 2.vue the MVVM design pattern? What is MVC?

This design pattern MVC That model, view, control, jQuery is used. JQuery probably already familiar with the students on the $ () deep pass evil absolutely right.

 

 

 

That MVVM model, view, viewmodel, which is data-driven mode, i.e., everything is carried out by the operation data, the operation to avoid dom tree.

 

 

 

 

3.VUE two core

1 response data binding formula: When the data changes, the view can be updated automatically, dom, without regard for operation, data manipulation and focus

 view of the assembly 2 may be combined: a view according to the cut into several basic functional units, a component may be application of a combination of the entire stage assembly form an inverted tree, maintainable, reusable, testable

 

 

 

4. Node.js, npm, cnpm, vue, vue-cli, Vue Devtools relationship

Node.js® is based Chrome V8 JavaScript engine run-time environment. Node.js is to the js, equivalent to jvm As for the status of Java.
NPM (node Package Manager): NodeJS package management for plug-in management node (including installing, uninstalling, management dependence)
cnpm   because npm install the plug-in is downloaded from the server abroad, the affected network is relatively large, an exception may occur, if the server npm like in China, so we are happy to share Taobao team did this thing. From the official website: "This is a complete npmjs.org image, you can use this instead of the official version (read-only), synchronous frequency of the current 10 minutes to ensure as far as possible be synchronized with the official service."
vue   is a progressive frame for constructing user interfaces.
vue-cli   is a complete system for rapid Vue.js development, is the development of official vue.js scaffolding. The purpose of using scaffolding, it is a zero-configuration 1. Provide rapid prototyping; 2 provides a runtime dependencies; 3 provides a wealth of official plug-in library; 4. complete graphical user interface.
vue-devtools   is based on a chrome browser plug-ins for debugging applications vue, vue debugging this artifact can greatly improve our commissioning efficiency. Help us to quickly develop vue debugging applications.

 

vue.js vue-cli developed using scaffold will be a lot easier, and vue-cli npm package is installed globally, and npm well and vue such  webpack  or  Browserify  module used in conjunction with the packer.

While the function package is installed Node.js npm is provided.

 

Guess you like

Origin www.cnblogs.com/sxdcgaq8080/p/12450090.html