Static GitHub Issues

[1617] Classes set on <nuxt /> component in layout are sometimes lost

prev: separate the css file when generate html file
next: Programmatic navigation: router.push and router.go in nuxtjs ?

My default.vue layout currently looks something like this:

<template>
  <main-menu />
  <nuxt class="view" />
</template>

At first, the .view class gets set on whatever page component is rendered in the <nuxt /> container, but when I start changing routes through <nuxt-link> tags, this class gets subsequently lost.

This doesn't happen when working with vue-router directly, from which I am currently porting a project to Nuxt.js, so it looks like a Nuxt.js bug to me.

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c1443">#c1443</a>)</em></sub></div>