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

@@ -10,10 +10,11 @@
<link rel="stylesheet" href="https://pyscript.net/latest/pyscript.css" />
<script defer src="https://pyscript.net/latest/pyscript.js"></script>
<py-env>
- paths:
- ./utils.py
</py-env>
<py-config>
paths = [
"./utils.py"
]
</py-config>
</head>
<body>