mirror of
https://github.com/adoyle0/thaw.git
synced 2025-01-23 06:19:22 -05:00
gh-pages: page redirection
This commit is contained in:
parent
5c9104d453
commit
6ad4eec992
3 changed files with 33 additions and 4 deletions
|
@ -2,12 +2,10 @@
|
||||||
target = "index.html"
|
target = "index.html"
|
||||||
public_url = "/thaw/"
|
public_url = "/thaw/"
|
||||||
# release = true
|
# release = true
|
||||||
|
filehash = false
|
||||||
|
|
||||||
[watch]
|
[watch]
|
||||||
watch = [
|
watch = ["../src", "./src"]
|
||||||
"../src",
|
|
||||||
"./src"
|
|
||||||
]
|
|
||||||
|
|
||||||
[serve]
|
[serve]
|
||||||
address = "127.0.0.1"
|
address = "127.0.0.1"
|
||||||
|
|
|
@ -13,6 +13,7 @@
|
||||||
<link data-trunk rel="css" href="./src/assets/css/index.css" />
|
<link data-trunk rel="css" href="./src/assets/css/index.css" />
|
||||||
<link data-trunk rel="copy-file" href="./src/assets/svg/grid_dot.svg" />
|
<link data-trunk rel="copy-file" href="./src/assets/svg/grid_dot.svg" />
|
||||||
<link data-trunk rel="copy-file" href="./src/assets/favicon.ico" />
|
<link data-trunk rel="copy-file" href="./src/assets/favicon.ico" />
|
||||||
|
<link data-trunk rel="copy-file" href="./src/assets/404.html" />
|
||||||
<link data-trunk rel="copy-file" href="../logo.svg" />
|
<link data-trunk rel="copy-file" href="../logo.svg" />
|
||||||
</head>
|
</head>
|
||||||
<body></body>
|
<body></body>
|
||||||
|
|
30
demo/src/assets/404.html
Normal file
30
demo/src/assets/404.html
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8" />
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
|
<title>Thaw UI</title>
|
||||||
|
<link
|
||||||
|
rel="shortcut icon"
|
||||||
|
href="/thaw/favicon.ico"
|
||||||
|
type="image/x-icon"
|
||||||
|
/>
|
||||||
|
<link rel="stylesheet" href="/thaw/index.css" />
|
||||||
|
|
||||||
|
<link
|
||||||
|
rel="preload"
|
||||||
|
href="/thaw/demo_bg.wasm"
|
||||||
|
as="fetch"
|
||||||
|
type="application/wasm"
|
||||||
|
crossorigin=""
|
||||||
|
/>
|
||||||
|
<link rel="modulepreload" href="/thaw/demo.js" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<script type="module">
|
||||||
|
import init from "/thaw/demo.js";
|
||||||
|
init("/thaw/demo_bg.wasm");
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
Loading…
Add table
Reference in a new issue