feat: use defineComponent wrapper
This commit is contained in:
parent
a3329f1b42
commit
ba9f69344a
75 changed files with 309 additions and 236 deletions
|
|
@ -12,9 +12,11 @@
|
|||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import {getChecklistStatistics} from '../../../helpers/checklistFromText'
|
||||
import {defineComponent} from 'vue'
|
||||
|
||||
export default {
|
||||
import {getChecklistStatistics} from '@/helpers/checklistFromText'
|
||||
|
||||
export default defineComponent({
|
||||
name: 'checklist-summary',
|
||||
props: {
|
||||
task: {
|
||||
|
|
@ -34,7 +36,7 @@ export default {
|
|||
return ((100 - progress) / 100) * c
|
||||
},
|
||||
},
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
|
|
|
|||
Reference in a new issue