Can now add scoped rcss files

This commit is contained in:
2026-07-12 21:45:57 -05:00
parent 017776a7f3
commit f5e1557261
10 changed files with 48 additions and 15 deletions

View File

@@ -0,0 +1,7 @@
<div id="page-root" data-model="test-page" class="page">
<h1>Test page</h1>
<p>{{greeting}}</p>
<button id="test-btn">Button clicked: {{counter}} times</button>
<p>If you have a .rcss file with the same name as the page in the pages directory, it will be loaded at runtime so you can add custom styling to a page, which is why the header is red on this page only.</p>
</div>