-
Notifications
You must be signed in to change notification settings - Fork 16
/
index.ejs
35 lines (30 loc) · 1.4 KB
/
index.ejs
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="description" content="<%= htmlWebpackPlugin.options.description %>"/>
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-title" content="Dashboard">
<meta name="theme-color" content="#21243f"/>
<title><%= htmlWebpackPlugin.options.title %></title>
<link rel="stylesheet" href="/fonts/nunito.css">
<link rel="stylesheet" href="/style.css">
<link rel="apple-touch-icon" href="icons/ios-icon-180.png">
<link rel="apple-touch-icon" sizes="120x120" href="icons/ios-icon-120.png">
<link rel="apple-touch-icon" sizes="167x167" href="icons/ios-icon-167.png">
<link rel="apple-touch-icon" sizes="152x152" href="icons/ios-icon-152.png">
<% for (var chunk of webpack.chunks) {
for (var file of chunk.files) {
if (file.match(/\.(js|css)$/)) { %>
<link rel="<%= chunk.initial?'preload':'prefetch' %>" href="<%= htmlWebpackPlugin.files.publicPath + file %>" as="<%= file.match(/\.css$/)?'style':'script' %>">
<% }}} %>
</head>
<body>
<noscript>
You need to enable JavaScript to run this app.
</noscript>
<div id="app"></div>
</body>
</html>