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.