1
0

feat: use defineComponent wrapper

This commit is contained in:
Dominik Pschenitschni
2022-02-15 13:07:59 +01:00
committed by kolaente
parent a3329f1b42
commit ba9f69344a
75 changed files with 309 additions and 236 deletions

View File

@ -157,6 +157,8 @@
</template>
<script lang="ts">
import {defineComponent} from 'vue'
import {mapState} from 'vuex'
import draggable from 'vuedraggable'
@ -169,7 +171,7 @@ import {CURRENT_LIST, MENU_ACTIVE, LOADING, LOADING_MODULE} from '@/store/mutati
import {calculateItemPosition} from '@/helpers/calculateItemPosition'
export default {
export default defineComponent({
name: 'navigation',
components: {
@ -285,7 +287,7 @@ export default {
}
},
},
}
})
</script>
<style lang="scss" scoped>

View File

@ -8,7 +8,9 @@
</template>
<script lang="ts">
export default {
import {defineComponent} from 'vue'
export default defineComponent({
name: 'update',
data() {
return {
@ -45,7 +47,7 @@ export default {
this.registration.waiting.postMessage('skipWaiting')
},
},
}
})
</script>
<style lang="scss" scoped>