Home > Web Front-end > JS Tutorial > First introduction to *.Vue files in Vue.js_vue.js

First introduction to *.Vue files in Vue.js_vue.js

韦小宝
Release: 2018-01-04 10:14:28
Original
2344 people have browsed it

vue.js is a progressive framework for building user interfaces. It adopts a bottom-up incremental development design. This article mainly introduces the first introduction to Vue.Js pit filling diary*.Vue files, which are required Friends can refer to

What is Vue.js?

vue.js is a progressive framework for building user interfaces. It adopts a bottom-up incremental development design. (The bottom-up design method is based on the system functional requirements, starting from specific devices, logic components or similar systems, and relying on the designer's skilled skills and rich experience to interconnect, modify and expand them to form the required System.) Vue's core library only focuses on the view layer. It is not only easy to get started, but also easy to integrate with third-party libraries or existing projects. On the other hand, Vue is also fully capable of powering complex single-page applications when combined with single-file components and libraries supported by the Vue ecosystem.

What is a *.vue file

First of all, we have encountered many projects built with vue-cli scaffolding, such as This file is index.vue or App.vue. What the hell is this? If you are new to vue development, you may have never seen this thing before. The *.vue file is a custom file type that uses HTML-like syntax to describe a Vue component. Each .vue file contains three types of top-level language blocks