3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-21 16:55:03 +00:00

dashboard: add custom page titles for documentation and dashboard

This commit is contained in:
Dragory 2020-05-23 23:18:28 +03:00
parent fd89d02827
commit 371e2fb98f
3 changed files with 25 additions and 4 deletions

View file

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