forked from aisuda/amis-admin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
36 lines (36 loc) · 1.21 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
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<title>AMis Boilerplate</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport"
content="width=device-width, initial-scale=1, maximum-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<link rel="stylesheet"
href="font-awesome/css/font-awesome.css">
<link rel="stylesheet"
href="bootstrap/dist/css/bootstrap.css">
<!--DEPENDENCIES_INJECT_PLACEHOLDER-->
<link rel="stylesheet" title="default" href="amis/lib/themes/default.css">
<link rel="stylesheet" href="./scss/style.scss">
<style>
.app-wrapper {
position: relative;
width: 100%;
height: 100%;
}
</style>
</head>
<body>
<div id="root" class="app-wrapper"></div>
<script src="./mod.js"></script>
<script type="text/javascript">
/* @require ./index.tsx fis 用法,标记为同步依赖,将依赖用 <script> 打在 html 中加载 */
require(['./index.tsx'], function (app) {
// var initialState = {};
app.bootstrap(document.getElementById('root')/*, initialState*/);
});
</script>
</body>
</html>