title: Using nuxt, how do I put the route name in the page title?
body: <p>I want to set the page title to a different value for each page.</p>
  
  <p>In regular Vue.js, I have done the following:</p>
  
  <pre><code>import router from './router'
  import { store } from './store/store';
  
  router.beforeEach((to, from, next) =&gt; {
      store.mutations.setRoute(to);
      document.title = store.getters.pageTitle;
      next();
  }
  </code></pre>
  
  <p>How would I get that effect in nuxt?</p>
  
  <p>That is, on both initial page load and when changing pages, I want the browser tab's title to change. For instance, from "My App - About" to "My App - Profile".</p>