Home >Web Front-end >JS Tutorial >Explanation of *.Vue files in Vue.js

Explanation of *.Vue files in Vue.js

小云云
小云云Original
2017-12-18 13:53:393370browse

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 *.vue file

First of all, in the project we built using vue-cli scaffolding, we have encountered many files, such as 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