Home

Issue: 431

how to use the <keep-alive> in nuxt.js ?

[issue link]

hi, i has two page,

one is timeline, other is feed-detail

i hope the effect

  1. enter website (default timeline page), load data (feeds) from api-server at hook mounted.

  2. scroll some feeds… click one feed and enter feed-detail page.

  3. click back up button of browser and return timeline page. now timeline reload the feeds and remount the page… scroll on top.

i hope the timeline page is not remount on back up.

i try such as:

<keep-alive>
    <nuxt>
</keep-alive>

but it is no effect, i’m inquisitive what the different between and of vue-router ?

should me to do ?

This feature request is available on Nuxt.js community (#c374)