mirror of
https://github.com/pyscript/pyscript.git
synced 2025-12-19 18:27:29 -05:00
fix paths to pyscript.net (#366)
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
<title>PyScript demo</title>
|
<title>PyScript demo</title>
|
||||||
|
|
||||||
<link rel="icon" type="image/png" href="favicon.png" />
|
<link rel="icon" type="image/png" href="favicon.png" />
|
||||||
<link rel="stylesheet" href="build/pyscript.css" />
|
<link rel="stylesheet" href="https://pyscript.net/alpha/pyscript.css" />
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body class="container font-mono">
|
<body class="container font-mono">
|
||||||
|
|||||||
@@ -31,8 +31,8 @@
|
|||||||
<script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.slim.min.js"></script>
|
<script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.slim.min.js"></script>
|
||||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.1/dist/js/bootstrap.bundle.min.js"></script>
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.1/dist/js/bootstrap.bundle.min.js"></script>
|
||||||
|
|
||||||
<link rel="stylesheet" href="build/pyscript.css" />
|
<link rel="stylesheet" href="https://pyscript.net/alpha/pyscript.css" />
|
||||||
<script defer src="build/pyscript.js"></script>
|
<script defer src="https://pyscript.net/alpha/pyscript.js"></script>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<py-env>
|
<py-env>
|
||||||
|
|||||||
@@ -6,14 +6,14 @@
|
|||||||
<title>Todo App</title>
|
<title>Todo App</title>
|
||||||
|
|
||||||
<link rel="icon" type="image/png" href="favicon.png" />
|
<link rel="icon" type="image/png" href="favicon.png" />
|
||||||
<link rel="stylesheet" href="/build/pyscript.css" />
|
<link rel="stylesheet" href="https://pyscript.net/alpha/pyscript.css" />
|
||||||
|
|
||||||
<script defer src="/build/pyscript.js"></script>
|
<script defer src="https://pyscript.net/alpha/pyscript.js"></script>
|
||||||
<py-env>
|
<py-env>
|
||||||
- paths:
|
- paths:
|
||||||
- ./utils.py
|
- ./utils.py
|
||||||
</py-env>
|
</py-env>
|
||||||
<py-register-widget src="/pylist.py" name="py-list" klass="PyList"></py-register-widget>
|
<py-register-widget src="./pylist.py" name="py-list" klass="PyList"></py-register-widget>
|
||||||
|
|
||||||
<py-script>
|
<py-script>
|
||||||
def add_task(*ags, **kws):
|
def add_task(*ags, **kws):
|
||||||
|
|||||||
@@ -7,9 +7,9 @@
|
|||||||
<title>Todo App</title>
|
<title>Todo App</title>
|
||||||
|
|
||||||
<link rel="icon" type="image/png" href="favicon.png" />
|
<link rel="icon" type="image/png" href="favicon.png" />
|
||||||
<link rel="stylesheet" href="/build/pyscript.css" />
|
<link rel="stylesheet" href="https://pyscript.net/alpha/pyscript.css" />
|
||||||
|
|
||||||
<script defer src="/build/pyscript.js"></script>
|
<script defer src="https://pyscript.net/alpha/pyscript.js"></script>
|
||||||
<py-env>
|
<py-env>
|
||||||
- paths:
|
- paths:
|
||||||
- ./utils.py
|
- ./utils.py
|
||||||
|
|||||||
@@ -21,8 +21,8 @@
|
|||||||
</div>
|
</div>
|
||||||
<script src='https://cdnjs.cloudflare.com/ajax/libs/three.js/89/three.min.js'></script>
|
<script src='https://cdnjs.cloudflare.com/ajax/libs/three.js/89/three.min.js'></script>
|
||||||
|
|
||||||
<script defer src="/build/pyscript.js"></script>
|
<script defer src="https://pyscript.net/alpha/pyscript.js"></script>
|
||||||
<link rel="stylesheet" href="/build/pyscript.css" />
|
<link rel="stylesheet" href="https://pyscript.net/alpha/pyscript.css" />
|
||||||
<script>
|
<script>
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user