mirror of
https://github.com/pyscript/pyscript.git
synced 2025-12-21 11:15:36 -05:00
add stores, move pyscript component in it's own file add method to add new scripts to page
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user