<template>
  <div id="app">
    <router-view />
  </div>
</template>

<style lang="scss">
@import '@/assets/styles/_obmc-custom';
</style>

<script>
export default {
  name: 'App',
  watch: {
    $route: function(to) {
      document.title = to.meta.title || 'Page is missing title';
    }
  },
  created() {
    document.title = this.$route.meta.title || 'Page is missing title';
  }
};
</script>
