improved pwa functionality

This commit is contained in:
2022-10-16 12:54:39 +02:00
parent 3dc051aba1
commit 4ca2cdff70
22 changed files with 56336 additions and 174 deletions

View File

@ -7,26 +7,29 @@
<link rel="manifest" href="manifest.json" />
<script src="./resources/pwa.js"></script>
<link rel="stylesheet" href="./resources/pyscript.css" />
<script defer src="./resources/pyscript.js"></script>
<!-- Bootstrap CSS -->
<link href="./resources/bootstrap.css" rel="stylesheet">
<title>01_hello_world</title>
<py-env>
- ./resources/pyscript_bootstrap_templates-0.1.0-py3-none-any.whl
- paths:
</py-env>
</head>
<body style="width: 100%; height: 100%">
<py-config type="json">
{
"autoclose_loader": true,
"packages": [
"./resources/pyscript_bootstrap_templates-0.1.0-py3-none-any.whl"
],
"paths": []
}
</py-config>
<div id="pyscript_app" style="height: 100%; min-height: 100%"></div>
<py-script src="./main.py"></py-script>
<script src="./resources/bootstrap.js"></script>
<script src="./resources/pwa.js"></script>
</body>
</html>