forked from willnewii/qiniuClient
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.ejs
46 lines (44 loc) · 1.2 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
36
37
38
39
40
41
42
43
44
45
46
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<% if (htmlWebpackPlugin.options.appModules) { %>
<!-- Add `app/node_modules` to global paths so `require` works properly in development -->
<script>
require('module').globalPaths.push('<%= htmlWebpackPlugin.options.appModules.replace(/\\/g, '\\\\') %>';
)
</script>
<% } %>
<style>
* {
margin: 0;
padding: 0;
transition: background .5s ease;
}
html,
body {
user-select: none;
height: 100%;
display: flex;
flex-direction: column;
}
#app {
width: 100%;
}
</style>
<link rel="stylesheet" type="text/css" href="static/iconfont.css">
<% if (htmlWebpackPlugin.options.prod) { %>
<link rel="stylesheet" type="text/css" href="static/dll/libs.css">
<% }%>
</head>
<body>
<!--<div id="title">COS客户端</div>-->
<div id="app"></div>
<% if (htmlWebpackPlugin.options.prod) { %>
<script src="./static/dll/libs.js"></script>
<script src="./static/dll/cos.js"></script>
<% }%>
<!-- webpack builds are automatically injected -->
</body>
</html>