Akryum / vue-router-multi-view

router-view meet v-show meet keep-alive
https://akryum.github.io/vue-router-multi-view/
86 stars 9 forks source link

Could I check `v-if/v-else`? #5

Open thearabbit opened 6 years ago

thearabbit commented 6 years ago
            <router-view v-if="noKeep" />
            <router-multi-view v-else></router-multi-view>
------
  computed: {
    noKeep() {
      return this.$route.meta.noKeep;
    }
  }

But don't work (always no keep)