Achieve most of the functions of Vue2, including but not limited to: data response, template compilation, virtual DOM, Diff algorithm, life cycle, keep-alive, GlobalAPI (minin, extend, filter, directive, etc.), based on rollup packaging; by handwriting Vue2 Source code, you can understand Vue2 more thoroughly.
English | 中文
git clone git@github.com:Shideshanxx/vite-vue3-lowcode.git
branch ——> Function
- 1-data-observe:Realize data monitoring
- 2-compiler:Implement template compilation,template——>AST——>render function
- 3-virTialDOM:Realize the creation of virtual DOM and data rendering
- ...
One-to-one correspondence between development documents and branches. The document specifically introduces the functional processes and key points implemented by the relevant branches.
npm install
# or
yarn
npm run serve
npm run build