Skip to content

PyScript Config

PyScript's configuration is fully documented in the PyScript documentation. Configuration for PuePy simply requires adding the PuePy runtime files (see Installation) and Morphdom:

{
  "name": "PuePy Tutorial",
  "debug": true,
  "packages": [
    "./puepy-0.4.5-py3-none-any.whl"
  ],
  "js_modules": {
    "main": {
      "https://cdn.jsdelivr.net/npm/morphdom@2.7.2/+esm": "morphdom"
    }
  }
}