Is there any difference between the life cycle of the vue single file component and that of the root instance?

when looking at the life cycle of the Vue tutorial, I saw this sentence:

clipboard.png

but it is not clear to what stage the template compilation will be executed in advance.

Mar.05,2021

compilation is not a declaration cycle. Compilation refers to the logic that converts a template to vue. Using the unit component developed by engineering, the < template > < / template > section has been compiled into the render function when it is entered into the js package.
then has nothing to do with the root instance, you should be talking about the use of new Vue () , which is compiled when the js code is running, but you do not need to compile if you do not use el/template and directly use render .

Menu