mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 16:43:55 +00:00
.. | ||
layouts | ||
pages | ||
package.json | ||
README.md |
<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>