Commit Graph

17 Commits

Author SHA1 Message Date
Jonas Galvez
a3dd7dad6b feat: configurable global name (#4012)
Co-authored-by: JuliaNeumann <jn.julianeumann@gmail.com>
2018-10-09 15:38:33 +03:30
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
ktsn
bf6416ae62 fix: ensure emit triggerScroll event after scrollBehavior is called 2018-06-21 15:22:52 +09:00
Sébastien Chopin
358e2f32fd minor: Improve scrollBehavior to work with transitions, resolve #1376, thanks to @homerjam 2018-01-31 16:13:28 +01:00
Sébastien Chopin
1ea0a9a6f2 wip: Add keep-alive prop to <nuxt/> and <nuxt-child/> 2018-01-17 09:39:34 +01:00
Atinux
fb44c2eb8e fix: Fix Layouts transitions 2017-11-06 18:30:15 +01:00
Sébastien Chopin
3b9f293e40 fix: Fix Hot reloading 2017-10-28 14:09:33 +02:00
Pooya Parsa
b6f2405e7e nuxt-child styling 2017-10-07 18:29:36 +03:30
James Homer
2bf02731f2 fix page transitions 2017-09-09 12:19:52 +01:00
James Homer
e937937ea1 add layout transitions 2017-09-09 12:19:52 +01:00
Sebastien Chopin
6461bcc9cb Add appear transition on spa mode 2017-08-18 15:44:34 +02:00
Pooya Parsa
766009dbba Cleaner structure 2017-06-18 12:06:00 +04:30
Pooya Parsa
829ffa634b refactor structure 2017-06-16 17:12:45 +04:30
Pooya Parsa
6ca11461ce feat(nuxt-child): bind transition calls to parent
WIP for #566
2017-06-12 21:34:45 +04:30
Sébastien Chopin
4ba3982307 Add duration property in transition 2017-03-24 03:00:35 +01:00
Sébastien Chopin
3b553ce16a Add enterToClass and leaveToClass 2017-01-02 18:05:53 +01:00
Sébastien Chopin
2cf68b6019 add nuxt-child and nuxt-link 2016-12-16 17:45:47 +01:00