Static GitHub Issues

[1448] with nested to nested route , the second is invalid

prev: Cannot read property toLowerCase of undefined
next: Use ||(or) in v-if

my route pages/ -|user-admin/ ----|main/ ------|settings/ ------| index.vue // ------| settings.vue // <-- nested level two --------| user-info.vue // not include parent(settings.vue)'s other layout ----| index.vue // <-- redirect to /user-admin/main ----| main.vue // <-- nested level one

here is level one:

<template lang="pug">
  nuxt-child
</template>
<script>
  export default {
    layout: 'user-admin'
  }
</script>

and level two:

<template lang="pug">
  .ua-category
    affix(:list="menu", category="main")
    .ua-category-content.ua-content.ua-content-hasCarbon(:class="{'category-content-hidden': visible}")
      div hello
      nuxt-child
</template>
<script>
  import { uaPrefix } from '~/store/module-prefixs'
  import Affix from '~/components/user-admin/Affix.vue'

  export default {
    layout: 'user-admin',
    computed: {
      visible () { return this.$store.state[uaPrefix].visibleAffix },
      menu () { return this.$store.state[uaPrefix].menus.main }
    },
    components: {
      Affix
    }
  }
</script>

the problem is when i access: /user-admin/main/settings/user-info no Affix.vue components included and access: /user-admin/main/settings 404 return

<!--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/c1287">#c1287</a>)</em></sub></div>