1
1
<template >
2
- <header class =" app-header" >
3
- <span class =" logo" >TODOS</span >
4
- </header >
5
-
6
- <aside class =" app-filters" >
7
- <section class =" toggle-group" >
8
- <button class =" button button--primary" >All</button >
9
- <button class =" button" >Active</button >
10
- <button class =" button" >Done</button >
11
- </section >
12
- </aside >
13
-
14
- <main class =" app-main" >
15
- <ul class =" todo-list" >
16
- <li class =" todo-item todo-item--done" >
17
- <div class =" todo-item__status" >
18
- <i class =" bi bi-check2" ></i >
19
- </div >
20
- <span class =" todo-item__text" >Learn the basics of Vue</span >
21
- <button class =" todo-item__remove-button" >
22
- <i class =" bi bi-trash3" ></i >
23
- </button >
24
- </li >
25
- <li class =" todo-item" >
26
- <div class =" todo-item__status" >
27
- <i class =" bi bi-check2" ></i >
28
- </div >
29
- <span class =" todo-item__text" >Learn the basics of Typescript</span >
30
- <button class =" todo-item__remove-button" >
31
- <i class =" bi bi-trash3" ></i >
32
- </button >
33
- </li >
34
- <li class =" todo-item" >
35
- <div class =" todo-item__status" >
36
- <i class =" bi bi-check2" ></i >
37
- </div >
38
- <span class =" todo-item__text" >Subscribe to the channel</span >
39
- <button class =" todo-item__remove-button" >
40
- <i class =" bi bi-trash3" ></i >
41
- </button >
42
- </li >
43
- </ul >
44
-
45
- <section class =" add-todo" >
46
- <button class =" add-todo__show-form-button" >
47
- <i class =" bi bi-plus-lg" ></i >
48
- </button >
49
- <form class =" add-todo__form" >
50
- <button class =" close-button" type =" button" >
51
- <i class =" bi bi-x" ></i >
52
- </button >
53
- <div class =" text-input text-input--focus" >
54
- <input class =" input" />
55
- </div >
56
- <button class =" button button--filled" >Add task</button >
57
- </form >
58
- </section >
59
- </main >
60
-
61
- <footer class =" app-footer" >2 more to do, 1 done</footer >
2
+ <HomePage />
62
3
</template >
63
4
64
- <script >
65
- export default {
66
- components: {
67
- },
68
- }
5
+ <script lang="ts">
6
+ import { defineComponent } from ' vue'
7
+ import HomePage from ' ./views/HomePage.vue'
8
+
9
+ export default defineComponent ({
10
+ components: {
11
+ HomePage
12
+ },
13
+ })
69
14
</script >
70
15
71
16
<style scoped></style >
0 commit comments