Nuxt/examples/with-keep-alive
Clark Du 52a92fbc48 refactor: use PascalCase for components names (#4396) 2018-11-24 22:19:19 +03:30
..
layouts refactor: use PascalCase for components names (#4396) 2018-11-24 22:19:19 +03:30
pages refactor: use PascalCase for components names (#4396) 2018-11-24 22:19:19 +03:30
README.md refactor: use PascalCase for components names (#4396) 2018-11-24 22:19:19 +03:30
package.json examples: Upgrade to nuxt-edge (#3911) 2018-09-18 18:26:25 +02:00

README.md

<keep-alive> with Nuxt.js

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