-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
47 lines (36 loc) · 933 Bytes
/
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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>A2dyn</title>
<base href="/">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.ico">
</head>
<body>
<app-root>Loading...</app-root>
</body>
<!-- 1. Configure and load ESRI libraries -->
<script>
window.dojoConfig = {
async: true,
paths: {
views: 'http://localhost:9000/src/views'
}
};
</script>
<script src="http://js.arcgis.com/3.16/"></script>
<script>
require(["dojo/ready"], function(ready){
ready(function(){
// This function won't run until the DOM has loaded and other modules that register have run.
window.plotter = {
define: window.define
};
require(["/dist/vendor.js", "/dist/bundle.js"], function (vendor, main) {
window.plotter.start();
});
});
});
</script>
</html>