zappyzep/dashboard/src/components/Title.vue
2020-07-30 13:08:06 +03:00

15 lines
237 B
Vue

<template></template>
<script lang="ts">
export default {
props: ['title'],
watch: {
title: {
immediate: true,
handler() {
document.title = this.title;
},
},
},
};
</script>