-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
48 lines (38 loc) · 2.14 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
46
47
48
<!DOCTYPE html>
<html lang="en">
<!--
*** IMPORTANT **
This index.html file is to be used only if you do not want to use create-elm-app. If you're using create-elm-app, it's safe to delete this file!
See the README (Usage > Alternatives to create-elm-app) for full instructions.
Note that all other Elm dev servers I've tried still have some issues with `pushState` and 404 redirection when routing URLs with subpaths, and thus do not fully support SPAs.
I would highly recommend using create-elm-app to avoid these potential issues, unless you are very familiar with SPAs.
Again, if you use create-elm-app, you can safely delete this file.
*** IMPORTANT ***
-->
<head>
<title>Elm SPA Boilerplate</title>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="theme-color" content="#000000">
<meta name="description" content="A simple, no-frills boilerplate for creating delightful Single Page Applications (SPAs) in Elm.">
<!-- manifest.json provides metadata used when your web app is added to the homescreen on Android. See https://developers.google.com/web/fundamentals/engage-and-retain/web-app-manifest/ -->
<link rel="manifest" href="%PUBLIC_URL%/public/manifest.json">
<link rel="shortcut icon" href="%PUBLIC_URL%/public/favicon.ico">
<!-- Your custom styles -->
<!-- <link rel="stylesheet" type="text/css" href="%PUBLIC_URL%/src/css/main.css"> -->
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500|Material+Icons" rel="stylesheet">
<link rel="stylesheet" href="https://unpkg.com/material-components-web-elm@8.0.1/dist/material-components-web-elm.min.css">
<script src="https://unpkg.com/material-components-web-elm@8.0.1/dist/material-components-web-elm.min.js"></script>
<!-- The compied Elm code from elm-live -->
<script src="%PUBLIC_URL%/elm.js"></script>
</head>
<body>
<noscript>
You need to enable JavaScript to run this app.
</noscript>
<div id="elm"></div>
<!-- Our custom javascript that initializes flags and handles ports -->
<script src="%PUBLIC_URL%/src/index.js"></script>
</body>
</html>