vuejs is a lightweight framework developed in 2013 inspired by Angular. It was originally named Seed; it was renamed vue in December 2013. The icon color is green, which represents vitality, and the version number is " 0.6.0". On January 24, 2014, vue was officially released to the public, and the version number was "0.8.0".
The operating environment of this tutorial: windows7 system, vue2.9.6 version, DELL G3 computer.
Vue is a progressive framework for building user interfaces.
Different from other large frameworks, Vue is designed to be applied layer by layer from the bottom up.
At first it was just a personal project. Today, it has become one of the three major front-end frameworks in the world. It has 150,000 stars on github, ahead of React and Angular, and it is the first choice in China.
Its design ideas and coding skills have also been borrowed and imitated by many frameworks.
In 2013, You Yuxi, who worked at Google, was inspired by Angular and developed a lightweight Framework, originally named Seed.
In December 2013, it was renamed Vue. The icon color is green, which represents vitality, and the version number is 0.6.0.
On January 24, 2014, Vue was officially released to the public, and the version number was 0.8.0.
2014.02.25, 0.9.0 was released, with its own codename: Animatrix. From now on, important versions will have their own codenames.
2015.06.13, 0.12.0, codenamed Dragon Ball, the Laravel community (the community of a popular PHP framework) used Vue for the first time, and Vue has also gained popularity in the JS community.
2015.10.26, 1.0.0 Evangelion is the first milestone in the history of Vue. In the same year, vue-router, vuex, and vue-cli were released one after another, marking the development of Vue from a view layer library to a progressive framework.
2016.10.01, 2.0.0 is the second important milestone. It absorbs React’s virtual Dom solution and also supports server-side rendering. Since the release of Vue 2.0, Vue has become a hot topic in the front-end field.
On 2019.02.05, Vue released 2.6.0, which is a version that connects the past and the future. After it, 3.0.0 will be launched.
2019.12.05, amidst much anticipation, You Yuxi released the Vue 3 source code.
On September 18, 2020, Vue.js 3.0 was officially released.
Vue was originally intended to be a good addition to larger projects.
The design idea is a "progressive framework" that downplays the proposition of the framework itself and reduces the complexity of the framework as a tool, thus reducing the requirements for users.
Provide abbreviations for instructions
Provide abbreviations for v-bind and v-on:
<!-- v-bind --> <div v-bind:class="box">全写</div> <div :class="box">缩写</div> <!-- v-on --> <button v-on:click="btn">全写</button> <button @click="btn">缩写</button>
Clean and streamline the provided interface
Improve the initial rendering efficiency
Replace the v-repeat instruction with the v-for instruction. At the same time, the rendering of this command is optimized, and the efficiency is doubled.
Enhancement of two official tools: vue-loader and vueify
Version 2.0 has significantly restructured Vue, greatly improving its performance and laying the foundation for future cross-end development.
New improvements
Performance
2.0 Use a fork The rendering layer has been rewritten from snabbdom's lightweight Virtual DOM implementation.
On its upper level, Vue's template compiler can do some intelligent optimization processing at compile time, such as analyzing and extracting static subtrees to avoid unnecessary comparisons when the interface is redrawn.
The new rendering layer brings huge performance improvements and makes Vue 2.0 one of the fastest frameworks.
Server-side rendering
Vue 2.0 supports server-side rendering (SSR), and it is streaming and can do component-level caching. This makes extremely fast rendering possible.
3.0 is a very large refactoring. The source code is rewritten using TypeScript. More than 98% of the current code is written in TypeScript.
On September 18, 2020, Vue.js 3.0 was officially released. This release of the framework itself brings several major improvements, as well as some summaries of functions and processes!
The 3.0 version represents more than 2 years of development work
With 30+ RFCs
2600+ commits
from 99 contributors
628 pull requests
Extensive development and documentation work
Performance-wise Optimize
Route lazy loading
keep-alive cache page
Use v -show multiplexed DOM
v-for traversal avoids using v-if at the same time
Long list performance optimization
Destruction of events
Lazy loading of images
Introduction of third-party plug-ins on demand
Stateless components are marked as functional components
Subcomponent splitting
Variable localization
SSR
Better TypeScript integration
Improved TypeScript support, the editor can provide powerful type checking and errors and warnings
Better debugging support
Related recommendations: "vue.js Tutorial"
The above is the detailed content of When did vuejs come out?. For more information, please follow other related articles on the PHP Chinese website!