How lizychy0329/bailu works
File structure
• The only items are LICENSE and README.md. Although no source files are shown here, we can infer a typical layout for a Vue engine:
• src/ – contains the engine’s modules (compiler, runtime, reactivity, DOM renderer)
• dist/ – transpiled/bundled output for NPM or CDN consumption
• tests/ – unit/integration tests
• package.json, rollup.config.js or webpack.config.js – build configs
README for additional insights
• “low engine for vue” implies a focus on minimal reactivity/core rendering pipeline.
• “I’m success” indicates the author’s confidence in core functionality; no further architecture notes.
Elements
• SFC → Compiler → Render Functions → Runtime → Renderer → DOM
• Host App API calls → Runtime
• Blue for build-time components (Compiler, Bundler)
• Green for run-time components (Runtime, Renderer)
• Orange for external/host components (Vue Core, Host App, NPM)
• Annotations for protocols or file formats (e.g., .vue/.js input, virtual DOM patching)
Final advice
• Be exhaustive but modular: show every piece of bailu, but group them logically under “Build” vs. “Runtime.”