Added mermaid diagram to explain Blaze rendering.

This commit is contained in:
Aaron Rosenzweig
2025-10-07 23:05:40 -04:00
parent b9ffaa996a
commit 260b5b9ef5
2 changed files with 5 additions and 0 deletions

View File

@@ -128,6 +128,8 @@ All right! Lets find out what all these bits of code are doing!
### 1.5: Rendering Data
<img width="500px" src="/tutorials/blaze/assets/mermaid-diagram-blaze-rendering.svg"/>
Meteor parses HTML files and identifies three top-level tags: `<head>`, `<body>`, and `<template>`.
Everything inside any `<head>` tags is added to the head section of the HTML sent to the client, and everything inside `<body>` tags is added to the body section, just like in a regular HTML file.

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 18 KiB