examples: py-env to py-config (#784)

* examples: py-env to py-config

* 1 example as JSON with type

* Fix todo event attribute
This commit is contained in:
Ted Patrick
2022-09-23 11:04:31 -05:00
committed by GitHub
parent 146264ff12
commit d4e41e679d
19 changed files with 132 additions and 95 deletions

View File

@@ -42,12 +42,14 @@
<script defer src="https://pyscript.net/latest/pyscript.js"></script>
</head>
<py-env>
- bokeh
- numpy
- pandas
- panel==0.13.1
</py-env>
<py-config>
packages = [
"bokeh",
"numpy",
"pandas",
"panel==0.13.1"
]
</py-config>
<body>
<div class="container-fluid d-flex flex-column vh-100 overflow-hidden" id="container">