Skip to content

🎉一个精简版的vue3框架,实现了vue3部分核心内容

Notifications You must be signed in to change notification settings

bulv0620/vue-lite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vue-lite

A simplified version of Vue that implements some parts of Vue's core module.

In order to figure out what the vue3 has done for us, I learned some content about the vue3 source code from the Internet and books, and created this simplified version of vue (the main content is from HcySunYang, he is a very powerful vue developer). In this simplified version of vue, I have discarded a lot of content, especially in the compiler module. It can already run some samples successfully, although I still need to make some adjustments to the code.

This is a good sample for learning vue3 source code.

How to run

Enter the following in the terminal:

npm install
npm run dev

Then you can see the demo page.

How to build

First of all, you need to modify the mode in webpack.config.js.

module.exports = {
    mode: 'production',
    // omit other content...
}

Then, enter the following in the terminal:

npm run build

You will find the output file in the dist directory.

About

🎉一个精简版的vue3框架,实现了vue3部分核心内容

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published