Converted App.vue to composition api

This commit is contained in:
Joep 2023-09-09 13:52:38 +02:00
parent 2cfc2ae116
commit d13222fde3

View File

@ -4,10 +4,10 @@
</div>
</template>
<script lang="ts">
export default {
name: "app",
mounted() {
<script setup lang="ts">
import { onMounted } from 'vue';
onMounted(() => {
const loading = document.getElementById("loading");
if(loading !== null) {
loading.classList.add("done");
@ -18,6 +18,6 @@ export default {
}
}, 200);
}
},
};
})
</script>