diff options
Diffstat (limited to 'src/App.vue')
-rw-r--r-- | src/App.vue | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/App.vue b/src/App.vue index b57a91db..f6991c46 100644 --- a/src/App.vue +++ b/src/App.vue @@ -4,20 +4,20 @@ </div> </template> -<style lang="scss"> -@import '@/assets/styles/_obmc-custom'; -</style> - <script> export default { name: 'App', watch: { - $route: function(to) { + $route: function (to) { document.title = to.meta.title || 'Page is missing title'; - } + }, }, created() { document.title = this.$route.meta.title || 'Page is missing title'; - } + }, }; </script> + +<style lang="scss"> +@import '@/assets/styles/_obmc-custom'; +</style> |