Vue entry, vue

Source: Internet
Author: User

Vue entry, vue

Vue. js is a progressive framework for building user interfaces. Different from other heavyweight frameworks, Vue adopts a bottom-up and incremental development design.

The core Vue Library only focuses on the view layer. It is not only easy to use, but also easy to integrate with third-party libraries or existing projects.

On the other hand, when used in conjunction with a single file component and a Library Supported by the Vue ecosystem, Vue can also provide drivers for complex single-page applications.

If you know something about angular, it will be very easy for you to learn vue.

On the one hand, if you have a certain understanding of angular, you must have your front-end foundation. On the other hand, angular is developed by foreigners, and our vue is developed based on angular.

It is developed by Chinese people. It is essential for Chinese people to better understand their programming habits.

Let's take a look at vue!

First, we need to introduce the vue. js file,

The Mode for enabling vue is different from that for angular. The mode for enabling vue is new Vue ()

Note that V is capitalized'

The input in this object is a json

New Vue ({el: "# app", data: {mag: "supper hero "}})

Html code:

<Div id = "app" >{{ mag }}</div>

Such a simple data presentation is complete.

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.