2 ms·
Not exactly. Template are first compiled to a render function. https://medium.com/glovo-engineering/dissecting-vue-3-template-compilation-e01e2b98dafd https://
by lenkite 5y ago
Not exactly. Template are first compiled to a render function. https://medium.com/glovo-engineering/dissecting-vue-3-template-compilation-e01e2b98dafd https://medium.com/glovo-engineering/dissecting-vue-3-templa...
Vue first parses the template into an AST in a process known as the template parsing:
function compile(template) {
const ast = parse(template)
transform(ast, transformations)
return generate(ast)
}