refactor: rename DTree to DValue
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
COMPONENT(Request& context)
|
||||
{
|
||||
DTree asset_props;
|
||||
DValue asset_props;
|
||||
asset_props["css"]["0"] = "views/marketing.css";
|
||||
print(component("../components/theme/assets", asset_props, context));
|
||||
context.call["app"]["page_title"] = "Components";
|
||||
@@ -51,7 +51,7 @@ COMPONENT(Request& context)
|
||||
<div class="window-dot green"></div>
|
||||
<span class="mono-text">views/index.uce</span>
|
||||
</div>
|
||||
<pre class="code-block"><code>DTree props;
|
||||
<pre class="code-block"><code>DValue props;
|
||||
props["title"] = "Stunning Apps";
|
||||
<><?: component("example/marketing_blocks:HERO_SECTION", props, context) ?></></code></pre>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user