You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit de97003
Browse filesBrowse the repository at this point in the historyBrowse files
<lir-for="item in pageContext.pageInfo.frontmatter.highlights">{{ item }}</li>
230
-
</ul>
231
-
</Panel>
232
-
```
209
+
<import-codeblocksrc="./_regor-frontmatter.mdx"/>
233
210
234
211
`r-if`, `r-else-if`, and `r-else` choose what to render. `r-for` repeats an element for each item. Loop over data from frontmatter, the page context, or component state.
235
212
@@ -322,11 +299,9 @@ Tag names match registered keys regardless of case, so `<ReleaseNote>` finds `re
322
299
323
300
Place a `RegorApp` in a page and point it at a TypeScript file next to the page. It renders an `app` element with the `id` you give it and loads the script. The script calls `createApp` with the matching selector:
@@ -490,7 +465,7 @@ These patterns scale from a single widget to a multi-page admin tool with tables
490
465
491
466
## Use other libraries
492
467
493
-
A [PageScript](/components/runtime/page-script/) loads a browser entry point. Use it to enhance existing HTML or mount a browser-compatible library. PureStack bundles local TypeScript and its imports with esbuild; framework-specific source formats may need an additional compilation step. Start with a plain TypeScript module, as shown in [runtime scripts](../../components/runtime).
468
+
A [PageScript](/components/runtime/page-script/) loads a browser entry point. Use it to enhance existing HTML or mount a browser-compatible library. PureStack bundles local TypeScript and its imports with esbuild; framework-specific source formats may need an additional compilation step. Start with a plain TypeScript module, as shown in [runtime scripts](../../../components/runtime).
494
469
495
470
<AlertBoxtone="warning"icon="tabler:alert-triangle"title="What you give up">
496
471
Other frameworks can't use the built-in components, and they don't inherit the
0 commit comments