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 11{
22 "name" : " typescript-app" ,
3- "version" : " 1.0 .0" ,
3+ "version" : " 1.1 .0" ,
44 "private" : true ,
55 "scripts" : {
66 "serve" : " vue-cli-service serve" ,
77 "build" : " vue-cli-service build" ,
88 "lint" : " vue-cli-service lint"
99 },
1010 "dependencies" : {
11+ "@vue/cli" : " ^5.0.8" ,
1112 "core-js" : " ^3.8.3" ,
1213 "vue" : " ^3.4.15" ,
1314 "vue-ellipse-progress" : " ^2.1.2" ,
Original file line number Diff line number Diff line change 11<template >
22 <img alt =" Vue logo" src =" ./assets/logo.png" />
33 <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 >
49 <NewTodo />
510 <TodoList />
611 </div >
Original file line number Diff line number Diff line change 11h3 {
2- margin : 40 px 0 0 ;
2+ margin : 10 px 0 0 ;
33}
44
55ul {
99}
1010
1111li {
12- margin : 0 10px ;
12+ margin : 5 px 10px ; // add line spacing between tasks
1313}
1414
1515a {
1818.overdue {
1919 color : red ;
2020 font-weight : bold ;
21- }
21+ }
Original file line number Diff line number Diff line change 11<template >
22 <div class =" todo-app" >
3- <h1 >Todo List</h1 >
43 <p >Level: {{ levels }}</p >
5- <br />
64 <p >XP: {{ xps }}</p >
7- <br />
85 <!-- show circular progress bar filled with level progress--> <ve-progress
96 :progress =" progresses"
107 >Level {{ levels }}</ve-progress
118 >
9+ <h3 >Task list</h3 >
1210 <ul class =" todos" >
1311 <!-- repeat for each tasks-->
1412 <li v-for =" todo in todos" :key =" todo.newId" class =" todo" >
You can’t perform that action at this time.
0 commit comments