ubugeeei / chibivue

chibivue is minimal Vue.js v3 core implementations (Reactivity System, Virtual DOM, Component, Compiler (Template, SFC)). An online book for building your own Vue.js.
https://ubugeeei.github.io/chibivue/
360 stars 37 forks source link

update:Change screen state to "Generate render function based on AST" #260

Closed 2nofa11 closed 7 months ago

2nofa11 commented 7 months ago

[changes]
Reflects changes in chapter ”Generating the render function based on the AST”. Currently, the code is at chapter "After finishing the implementation of the parser"

before After
image image

[background] I was going to write a test for "10_minimum_example/060_template_compiler2" but noticed nothing on the screen. I think the cause is that there is no processing in the code to reflect the ”Generating the render function based on the AST”.

related: https://github.com/Ubugeeei/chibivue/issues/255