Nuxt/lib/app
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
..
components feat: allow nuxt-child to pass keep-alive props to keep-alive (#4067) 2018-10-08 14:27:36 +01:00
layouts Cleaner structure 2017-06-18 12:06:00 +04:30
pages feat: missing pages directory warning (#4054) 2018-10-05 13:37:55 +01:00
views fix: ie11 loading indicator not centering (#3779) 2018-08-22 14:10:31 +01:00
App.js fix: remove string interpolation from App.js (#3750) 2018-08-17 09:22:52 +01:00
client.js * Typofixes - https://github.com/vlajos/misspell-fixer (#4013) 2018-09-29 22:05:20 +02:00
empty.js grammer fix 2017-08-10 14:25:33 +04:30
index.js refactor: always use process.client instead of process.browser (#3910) 2018-09-19 13:30:23 +04:30
middleware.js fix: ignore test files inside middleware and store (#2905) 2018-03-01 09:38:42 +03:30
router.js feat(router): add support for props and alias (#3818) 2018-09-01 09:03:28 +04:30
server.js chore: remove extra validationError 2018-08-25 21:56:42 +04:30
store.js refactor: client store code style (#3683) 2018-09-24 02:15:44 +03:30
utils.js refactor: always use process.client instead of process.browser (#3910) 2018-09-19 13:30:23 +04:30