Skip to content

Commit 6191b01

Browse files
authored
Update README.md
1 parent 3d43ad1 commit 6191b01

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

README.md

+7-3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ Due to the need to consider `performance` and `compatibility` issues, `fervid` n
1010
1111
#### playground: [Fervid Playground](https://phoenix-ru.github.io/fervid/)
1212

13+
14+
# Part One main process
15+
1316
this is my current understanding of the vue compilation process
1417

1518
i will first summarize it as a whole and then proceed to the point of compiling the specific core parts of the code
@@ -414,12 +417,13 @@ const cssVars = descriptor.cssVars;
414417

415418
### There are also a few more important methods in the compilation of vue
416419

417-
I was thinking about distinguishing these methods and code logic in fervid. Now that fervid only provides one method, can we achieve consistent behavior with compiler-sfc?
418-
419-
I am thinking that without considering caching and ssr in the first step, we need to implement the following method
420+
about distinguishing these methods and code logic in fervid. Now that fervid only provides one method, can we achieve consistent behavior with compiler-sfc?
420421

422+
that without considering caching and ssr in the first step, we need to implement the following method
421423

422424
- compiler.compileScript (generate script code main `__sfc_main`)
423425
- compiler.compileTemplate (generate template code)
424426
- compiler.compileStyle (generate style code)
425427
- compiler.parse (generate descriptor)
428+
429+
# Part Two core compiler script (WIP)

0 commit comments

Comments
 (0)