Nuxt/lib
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
..
app feat: allow nuxt-child to pass keep-alive props to keep-alive (#4067) 2018-10-08 14:27:36 +01:00
builder feat: missing pages directory warning (#4054) 2018-10-05 13:37:55 +01:00
common feat: abstract minify and use value for all modes (#3965) 2018-09-30 18:12:38 +02:00
core dont allow to cache error pages (#3962) 2018-09-25 17:16:15 +02:00
index.js feat: move nuxt-legacy and nuxt-start into packages (#3824) 2018-08-31 22:51:41 +04:30