-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathvuejs-template.html
More file actions
54 lines (46 loc) · 1.31 KB
/
vuejs-template.html
File metadata and controls
54 lines (46 loc) · 1.31 KB
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
48
49
50
51
52
53
54
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link href='https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900|Material+Icons' rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/vuetify/dist/vuetify.min.css" rel="stylesheet">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, minimal-ui">
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vuetify/dist/vuetify.js"></script>
<script src="https://unpkg.com/vue-router/dist/vue-router.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/vuex/3.0.1/vuex.js"></script>
<title>Vuetify</title>
</head>
<body>
<div id="app">
</div>
<script>
const store = new Vuex.Store({
state: {
},
mutations: {
}
})
let routerAfter = {
after: (from, to) => {
console.log("from")
console.dir(from)
}
}
const router = new window.VueRouter({})
router.afterEach(routerAfter.after)
new Vue({
el: '#app',
router,
store,
data: () => ({
}),
computed: {
},
methods: {
}
})
</script>
</body>
</html>