You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One can also use both i.e pass the config from `src` attribute as well as specify it as `inline`. So the following snippet is also valid:
75
75
76
-
```
76
+
```html
77
77
<py-configsrc="./custom.toml">
78
78
paths = ["./utils.py"]
79
79
</py-config>
80
80
```
81
81
82
82
This can also be done via JSON using the `type` attribute.
83
83
84
-
```
84
+
```html
85
85
<py-configtype="json"src="./custom.json">
86
86
{
87
87
"paths": ["./utils.py"]
@@ -104,15 +104,15 @@ Package dependencies in the `<py-config>` can be declared by using the direct li
104
104
105
105
NOTICE that only pure python packages from PyPI will work and packages with C dependencies will not. These need to be built specifically for WASM (please, consult the Pyodide project for more information about what's supported and on how to build packages with C dependencies)
0 commit comments