[next] Include most basic error plugin (#1677)

This commit is contained in:
Andrea Giammarchi
2023-09-06 16:49:43 +02:00
committed by GitHub
parent 264675d0c3
commit 1d015c7534
43 changed files with 255 additions and 369 deletions

View File

@@ -4,11 +4,11 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>PyScript Next</title>
<link rel="stylesheet" href="../core.css" />
<link rel="stylesheet" href="../dist/core.css">
<!-- the PyWorker approach -->
<script type="module">
import { PyWorker } from '../core.js';
import { PyWorker } from '../dist/core.js';
PyWorker('./worker.py', {config: {fetch: [{files: ['./a.py']}]}});
// the type is overwritten as "pyodide" in PyScript as the module
// lives in that env too