-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
42 lines (40 loc) · 1.18 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
<html>
<meta charset="UTF-8">
<script src="vue.js"></script>
<script src="vuex.js"></script>
<script>
var path = '.';
if (typeof require!=='undefined' && typeof process!=='undefined') {
const fs=require("fs");//run under nw
global.undernw=true; //browserify override process variable
const opts={};//{recursive:true}
var reloadWatcher=fs.watch(path, opts,function() {
location.reload();
for(var i in require.cache) delete require.cache[i];
//reloadWatcher.close();
});
}
</script>
<link href="index.css" rel="stylesheet">
<link rel="icon" href="favicon.ico" type="image/x-icon">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>CAP</title>
<body>
<div id="app">
<div class="left-container">
<div class="maintext-container">
<cap-nav thestore="mainstore"></cap-nav>
<maintext thestore="mainstore"></maintext>
</div>
<div class="auxtext-container">
<cap-nav thestore="auxstore"></cap-nav>
<maintext thestore="auxstore"></maintext>
</div>
</div>
<div class="ped-container">
<dictionary-container/>
</div>
</div>
</body>
<script src="bundle.js"></script>
</html>