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
-
enter website (default
timelinepage), load data (feeds) from api-server at hookmounted. -
scroll some feeds… click one feed and enter
feed-detailpage. -
click
back upbutton of browser and returntimelinepage. 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
should me to do ?