Home >Web Front-end >Front-end Q&A >What is the difference between vue.min.js and vue.js
Difference: 1. vue.js is the development environment version, including complete warnings and debugging mode; while "vue.min.js" is the production environment version, with warnings removed. 2. vue.js is a complete uncompressed version, and the file is relatively large; while "vue.min.js" is a compressed version, which reduces the file size.
The operating environment of this tutorial: windows7 system, vue2.9.6 version, DELL G3 computer.
Vue (pronounced /vjuː/, similar to view) is a progressive JavaScript framework for building user interfaces, designed to better organize and simplify web development. Unlike other large frameworks, Vue is designed to be applied layer by layer from the bottom up.
When downloading files from the vue official website, you will find two types: vue.min.js and vue.js
##vue.js is the development version, vue.min.js is the production version.
vue.js development version, including helpful command line warnings. vue.min.js production environment version, optimized for size and speed. vue.js is a complete uncompressed file. The file is relatively large. It is generally used for reading and learning source code or modifying source code. It is generally not used for online projects. vue.min.js is compressed. The compressed function is exactly the same as the uncompressed one. It just deletes the blank characters, comments, blank lines and other content that has nothing to do with logic, and performs some optimizations. . This version is generally used for website reference, reducing file size, reducing website traffic, improving access speed, etc. If it is a project under development, you can use vue.js; if it is an online project, you can use vue.min.js.Extended information:
As the preferred entry-level framework for front-end developers, Vue has many advantages:vue.js Tutorial"
The above is the detailed content of What is the difference between vue.min.js and vue.js. For more information, please follow other related articles on the PHP Chinese website!