Nuxt/examples/with-keep-alive
2023-03-16 06:24:27 -07:00
..
layouts refactor: use PascalCase for components names (#4396) 2018-11-24 22:19:19 +03:30
pages refactor: update eslint-config to 1.x 2019-07-10 15:15:49 +04:30
package.json chore(examples): use 2.x version of nuxt instead of latest (#19737) 2023-03-16 06:24:27 -07:00
README.md refactor: use nuxt everywhere (#8210) 2020-11-30 23:44:04 +01:00

<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