Nuxt/examples/with-keep-alive/README.md
2020-11-30 23:44:04 +01:00

374 B

<keep-alive> with Nuxt

Introduced in v1.2.0, you can add the keep-alive prop to <Nuxt/> or <NuxtChild/> to "keep alive" the pages.

layouts/default.vue:

<template>
  <Nuxt keep-alive/>
</template>

Screenshot:

screen shot 2018-01-17 at 09 42 47