-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.js
47 lines (37 loc) · 987 Bytes
/
app.js
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
import "normalize.css";
import Vue from 'vue';
import VueApplication from './inject';
import Start from './app.vue';
import ui from './packages';
Vue.use(ui);
import a from "test-browser";
import HashMap from './inject/hashmap';
var map = new HashMap();
map.set("key1", "val1");
map.set("key1", "val2");
map.size; // -> 2
console.log(map.has("key1"))
map.forEach(function(value, key) {
console.log(key + " : " + value);
});
let client = app => {
app.watch(require.context('./config', false, /\.js$/))
// app.beforeEach((to, from, next) => {
// Toast.loading({ mask: true, message: "loading" + "..." });
// import('./app/view/src/sketeton').then(res=>{
// app.ctx.render(res.default)
// next()
// })
// next()
// })
// app.afterEach((to, from, next) => {
// next()
// Toast.close()
// })
app.on('ready', () => {
console.warn('app ready', app.nipi)
})
}
new VueApplication({
// mode: 'hash'
}).start(client, Start);