fixed inefficient file loading
This commit is contained in:
29
examples/01_hello_world/index.html
Normal file
29
examples/01_hello_world/index.html
Normal file
@ -0,0 +1,29 @@
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" style="width: 100%;height: 100%">
|
||||
<head id="head">
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<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%">
|
||||
<div id="pyscript_app" style="height: 100%; min-height: 100%"></div>
|
||||
<py-script src="./main.py"></py-script>
|
||||
|
||||
<script src="./resources/bootstrap.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user