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

@ -14,9 +14,11 @@
</template>
<script lang="ts">
import {defineComponent} from 'vue'
import NamespaceService from '@/services/namespace'
export default {
export default defineComponent({
name: 'namespace-setting-archive',
data() {
return {
@ -49,5 +51,5 @@ export default {
}
},
},
}
})
</script>

View File

@ -13,7 +13,9 @@
</template>
<script lang="ts">
export default {
import {defineComponent} from 'vue'
export default defineComponent({
name: 'namespace-setting-delete',
computed: {
namespace() {
@ -41,5 +43,5 @@ export default {
this.$router.push({name: 'home'})
},
},
}
})
</script>

View File

@ -56,6 +56,8 @@
</template>
<script lang="ts">
import {defineComponent} from 'vue'
import AsyncEditor from '@/components/input/AsyncEditor'
import NamespaceService from '@/services/namespace'
@ -64,7 +66,7 @@ import Fancycheckbox from '@/components/input/fancycheckbox.vue'
import ColorPicker from '@/components/input/colorPicker.vue'
import CreateEdit from '@/components/misc/create-edit.vue'
export default {
export default defineComponent({
name: 'namespace-setting-edit',
data() {
return {
@ -118,5 +120,5 @@ export default {
this.$router.back()
},
},
}
})
</script>

View File

@ -21,9 +21,11 @@
</template>
<script lang="ts">
export default {
import {defineComponent} from 'vue'
export default defineComponent({
name: 'namespace-setting-share',
}
})
</script>
<script lang="ts" setup>