-
Notifications
You must be signed in to change notification settings - Fork 0
/
components.html
48 lines (34 loc) · 1.18 KB
/
components.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
48
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.7.2/css/bulma.css">
<style>
body{
padding: 80px;
}
</style>
</head>
<body>
<div id="root">
<h1>All tasks</h1>
<message title="Hello world" body="My name is Olaegbe Samuel"></message>
<message title="Hello Halflings!" body="My name is Olaegbe Samuel Olayimika"></message>
<task-list></task-list>
<modal v-if="showModal" @close="showModal = false">
<code>
if(name == "Samuel"){
boy = "Genius!";
}
</code>
<message title="Hello Halflings!" body="My name is Olaegbe Samuel Olayimika"></message>
</modal>
<button @click="showModal=true">Show modal</button>
</div>
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
<script src="js/components.js"></script>
</body>
</html>