File tree Expand file tree Collapse file tree 4 files changed +11
-7
lines changed Expand file tree Collapse file tree 4 files changed +11
-7
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " typescript-app" ,
3
- "version" : " 1.0 .0" ,
3
+ "version" : " 1.1 .0" ,
4
4
"private" : true ,
5
5
"scripts" : {
6
6
"serve" : " vue-cli-service serve" ,
7
7
"build" : " vue-cli-service build" ,
8
8
"lint" : " vue-cli-service lint"
9
9
},
10
10
"dependencies" : {
11
+ "@vue/cli" : " ^5.0.8" ,
11
12
"core-js" : " ^3.8.3" ,
12
13
"vue" : " ^3.4.15" ,
13
14
"vue-ellipse-progress" : " ^2.1.2" ,
Original file line number Diff line number Diff line change 1
1
<template >
2
2
<img alt =" Vue logo" src =" ./assets/logo.png" />
3
3
<div >
4
+ <h1 >Todo List Application using Vue, TypeScript and Vuex</h1 >
5
+ <p >
6
+ This is a task list application using Vue, TypeScript and Vuex with SCSS
7
+ styles. It supports gamification like levels and experience points (XP).
8
+ </p >
4
9
<NewTodo />
5
10
<TodoList />
6
11
</div >
Original file line number Diff line number Diff line change 1
1
h3 {
2
- margin : 40 px 0 0 ;
2
+ margin : 10 px 0 0 ;
3
3
}
4
4
5
5
ul {
9
9
}
10
10
11
11
li {
12
- margin : 0 10px ;
12
+ margin : 5 px 10px ; // add line spacing between tasks
13
13
}
14
14
15
15
a {
18
18
.overdue {
19
19
color : red ;
20
20
font-weight : bold ;
21
- }
21
+ }
Original file line number Diff line number Diff line change 1
1
<template >
2
2
<div class =" todo-app" >
3
- <h1 >Todo List</h1 >
4
3
<p >Level: {{ levels }}</p >
5
- <br />
6
4
<p >XP: {{ xps }}</p >
7
- <br />
8
5
<!-- show circular progress bar filled with level progress--> <ve-progress
9
6
:progress =" progresses"
10
7
>Level {{ levels }}</ve-progress
11
8
>
9
+ <h3 >Task list</h3 >
12
10
<ul class =" todos" >
13
11
<!-- repeat for each tasks-->
14
12
<li v-for =" todo in todos" :key =" todo.newId" class =" todo" >
You can’t perform that action at this time.
0 commit comments