summaryrefslogtreecommitdiff
path: root/src/App.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/App.vue')
-rw-r--r--src/App.vue7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/App.vue b/src/App.vue
index 56674955..d5b49329 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -10,6 +10,11 @@
<script>
export default {
- name: "App"
+ name: "App",
+ watch: {
+ $route: function(to) {
+ document.title = to.meta.title || "Page is Missing Title";
+ }
+ }
};
</script>