Nuxt/lib/app/components
ousiri d603b0d418 feat: allow nuxt-child to pass keep-alive props to keep-alive (#4067)
Adds the ability to configure the props of keep-alive on nuxt-child.

## Types of changes
- [ ] Bug fix (a non-breaking change which fixes an issue)
- [x] New feature (a non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)


## Description
In development, I found it impossible to configure the props of keep-alive when using nuxt-child, like ```exclude```. This PR adds a special prop to nuxt-child named keepAliveProps to allow developer to configure it.

```html
<template>
  <div>
    <nuxt-child keep-alive :keep-alive-props="{ exclude: ['modal'] }">
  </div>
</template>
```

## Checklist:
- [x] My change requires a change to the documentation.
- [x] I have updated the documentation accordingly. (PR: https://github.com/nuxt/docs/pull/836)
- [ ] I have added tests to cover my changes (if not applicable, please state why)
- [x] All new and existing tests are passing.
2018-10-08 14:27:36 +01:00
..
no-ssr.js Use original vue-ssr instead of copy (#3644) 2018-08-07 02:58:33 +02:00
nuxt-child.js feat: allow nuxt-child to pass keep-alive props to keep-alive (#4067) 2018-10-08 14:27:36 +01:00
nuxt-error.vue fix: allow quotes in messages (#3525) 2018-07-12 21:45:14 +01:00
nuxt-link.js Refactor to use only one context and add route.meta 2017-10-20 10:52:07 +02:00
nuxt-loading.vue fix: expose loading.throttle as an option (#3953) 2018-09-24 18:30:22 +01:00
nuxt.js Consistent parens in arrow functions (#3630) 2018-08-06 02:12:44 +02:00