- Caches the public mount function and rewrites the browser platform mount
- Check whether the render function is passed in, if not, whether template is passed in, if not, get the outerHTML of the EL node as template
- Call the baseCompile function
- The parser converts the template compilation of template strings into an AST abstract syntax tree
- Optimize – Static node markup for AST, mainly used for rendering optimization of virtual DOM
- Convert the AST abstract syntax tree to a JS string for the Render function by generate
- Convert the render function to an executable function using the createFunction function
- Mount the last render function into Option
- Execute the public mount function