add stores, move pyscript component in it's own file add method to add new scripts to page

This commit is contained in:
Fabio Pliger
2022-03-04 14:13:32 -06:00
parent 0a636118be
commit 6f5ffc7360
7 changed files with 203 additions and 140 deletions

View File

@@ -14,16 +14,19 @@
</div>
</header>
<main>
<div class="max-w-7xl mx-auto py-6 sm:px-6 lg:px-8">
<div class="max-w-7xl mx-auto py-6 sm:px-6 lg:px-8">
<!-- Replace with your content -->
<div class="px-4 py-6 sm:px-0">
<div class="border-4 border-dashed border-gray-200 rounded-lg h-96"></div>
<div id="dashboard" class="border-4 border-dashed border-gray-200 rounded-lg h-96">
<py-script>
sum([1, 2, 3, 4, 5])
</py-script>
</div>
</div>
<py-script>
sum([1, 2, 3, 4, 5])
</py-script>
<!-- /End replace -->
</div>