If you are a beginner who has been studying development, or a programmer who has been groping in the field of code for many years, then you must be familiar with the front end. It is not as obscure as other programming languages, and it can achieve "what you see is what you get", which may be one of the reasons why many beginners choose the front end. Yesterday, when I was brushing Weibo, I saw an idea that the front-end development of vue.js was very interesting. Today, I want to talk to you about this "interesting" front-end framework-vue.
condition
Vue.js (pronounced /vju/, similar to view) is a progressive framework for building user interfaces. Is a library for building interactive Web interfaces. It provides MVVM data binding and a simple and flexible API composable component system. Simply put, it is a front-end framework, which focuses on the Web side, but it is actually a DOM operation.
Advantages of Vue
1)Vue is really small and beautiful, and the development experience is very good. The core library of Vue only focuses on the view layer, which is not only simple and easy to use, but also easy to integrate with third-party libraries or existing projects. On the other hand, when combined with single-file components and libraries supported by the Vue ecosystem, Vue can also provide drivers for complex single-page applications.
2)Vue does not support IE8 and below, because it uses ECMAScript 5 features that IE8 cannot simulate, which may be a minor flaw, but it supports all browsers compatible with ECMAScript 5.
3) In Vue, a component is essentially a Vue instance with predefined options. It is easy to register components in Vue, which is one of its advantages.
Application of vacuum environment
The core of 1)vue. js is a system that allows simple template syntax to declaratively render data into DOM. The use of Vue is very simple. Create a local. Html file, and then introduce Vue in the following ways:
In this way, we successfully created the first Vue application!
2) Now many big companies are using Vue.
Hungry? There are more and more projects using vue. These projects include desktop (such as hungry security emergency response center) and mobile (such as hungry recruitment), facing users and background systems.
Nuggets, the whole network is realized by Vue.js+Webpack, and it is a pure front-end application.
Suning.cn, the shopping cart settlement page of the touch screen version was reconstructed with Vue, and Vue was selected among many frameworks, mainly because of its friendly API and smooth experience.
According to incomplete statistics, well-known large companies at home and abroad, including Meituan, Tmall, Laravel and htmlBurger, are using vue for the development of new projects and the front-end transformation of old projects.
Can you use it?
1) is not recommended for front-end beginners. The introduction of a language must start with the basic grammar. Only by mastering the basic knowledge can we use the framework more flexibly and lay a good foundation for future work.
2) After mastering the basics, it is suggested that individuals can use vue. Practice your hands and make technical reserves for subsequent big projects. Friends who have been engaged in front-end development can also contact and learn more.
3) The salary found on the recruitment website, some screenshots for everyone to see.
It's not too late to study ~