title: Error when trying to target and add classes to html, body, and __nuxt elements in Vue/Nuxt
body: <p>I'm getting the error "cannot read property 'classList' of null" when trying to add/remove classes using <code>document.getElementsByTagName('html').classList</code>, and also for any other high-level elements in the skies above Component Land, such as <code>body</code> or <code>__nuxt</code>.</p>
  
  <p>Running in <code>mounted()</code> lifecycle with <code>nextTick</code> function.</p>
  
  <p>Also tried checking <code>process.client</code>, but no luck either.</p>
  
  <p>Any ideas?</p>
  
  <p>Thanks : )</p>