1
0
mirror of https://github.com/nuxt/nuxt.git synced 2025-02-28 16:23:45 +00:00
Nuxt/examples/with-keep-alive
2018-09-18 18:26:25 +02:00
..
layouts feat: upgrade eslint to 5.x () 2018-08-31 21:34:12 +01:00
pages
package.json examples: Upgrade to nuxt-edge () 2018-09-18 18:26:25 +02:00
README.md Update README.md 2018-01-17 09:52:58 +01:00

<keep-alive> with Nuxt.js

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

layouts/default.vue:

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

Screenshot:

screen shot 2018-01-17 at 09 42 47