cuixiaorui/mini-vue
cuixiaorui/mini-vue has 10,514 GitHub stars and 2,216 forks. Star changes are not measured yet. Last checked 2026-11-06 00:01 UTC. Last push 2024-03-25.
实现最简 vue3 模型( Help you learn more efficiently vue3 source code )
Measured star growth
- in 24h
- Update delayed
- in 7 days
- Update delayed
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README_EN.md
Originalmini-vue
Implement the simplest vue3 model for in-depth study of vue3 source code
Usage
Bilibili Provides a video explaining how to use it
Can follow my Bilibili,Interpretation of live source code from time to time
Discuss
You can join the group to discuss the vue3 source code
with WeChat
Service
Provide one-to-one video teaching services, and take you to see the mini-vue source code hand in hand
Can add group communication
Why
When we need to learn vue3 in depth, we need to look at the source code to learn, but like this kind of industrial-level library, there are a lot of logic in the source code for processing edge cases or compatible processing logic, which is not conducive to our learning.
We should focus on the core logic, and the purpose of this library is to separate the core logic from the vue3 source code, leaving only the core logic for everyone to learn.
How
Based on the function points of vue3, split it out bit by bit
The code naming will remain consistent with the source code, so that you can find logic in the source code through naming.
Tasking
- support component type
- support element type
- init props of component
- context can get props and context in setup
- support component emit
- support proxy
- can get the object returned by setup in the render function
- Implementation of nextTick
- support getCurrentInstance
- support provide/inject
- support basic slots
- support text type
roadmap
- support english
- normalize console.log
build
yarn build
example
Open index.html under example/* use server
Recommended Use Live Server
Initialization
flow chart

Key function call graph
The source code content can be quickly searched based on the function name
update
flow chart

Key function call graph

The source code content can be quickly searched based on the function name
Explore related projects
codecrafters-io/build-your-own-x
Master programming by recreating your favorite technologies from scratch.
560,362 starspublic-apis/public-apis
A collective list of free APIs
496,655 starsmorluto/rea
Reverse engineer anything with agents, from app behavior down to native binaries.
437,324 starsopenclaw/openclaw
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
394,047 stars