generated from st-ax/preact-ts-offline-first
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
45 lines (44 loc) · 1.62 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="apple-touch-icon" href="/icons8-tick-box.svg">
<meta name="description" content="A simple Todo App using Vite + Preact + Typescript + Tailwind CSS + ReduxZero">
<meta name="theme-color" content="#673ab8"/>
<link rel="manifest" href="/manifest.json">
<title>TodoApp</title>
<link rel="icon" href="/icons8-tick-box.svg">
<script>
// <PolyfillCrapshit>
window.global = window
</script>
<script type="module">
// import process from "process"
// import React from "react"
import { Buffer } from "buffer"
// import EventEmitter from "events"
// window.process = process
// window.React = React
window.Buffer = Buffer // needed for one of these: @isomorphic-git/lightning-fs, isomorphic-git, json-stable-stringify
// window.EventEmitter = EventEmitter
// </PolyfillCrapshit>
</script>
</head>
<body>
<div id="app"></div>
<!-- <p id="requireHTTPS" class="hidden">
<b>STOP!</b> This page <b>must</b> be served over HTTPS.
Please <a href="/">reload this page via HTTPS</a>.
</p>
< -- Install button, hidden by default -- >
<div id="installContainer" class="hidden">
<button id="butInstall" type="button">
Install
</button>
</div> -->
<script type="module" src="/src/main.tsx"></script>
</body>
</html>