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

@@ -5,9 +5,11 @@
<link rel="icon" type="image/x-icon" href="./favicon.png">
<link rel="stylesheet" href="https://pyscript.net/latest/pyscript.css" />
<script defer src="https://pyscript.net/latest/pyscript.js"></script>
<py-env>
- matplotlib
</py-env>
<py-config>
packages = [
"matplotlib"
]
</py-config>
</head>
<body>
<div id="mpl"></div>