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
Tatsuyuki Ishi
55a153c7d0
fix: expose loading.throttle as an option ( #3953 )
2018-09-24 18:30:22 +01:00
Tatsuyuki Ishi
d1f6f0dc09
loading: add throttle option to skip progress for fast loads ( #3886 )
...
* loading: add throttle option to skip progress for fast loads
* Disable some tests relying on internals
2018-09-18 18:16:27 +02:00
HANATANI Takuma
ba7e6c735b
Use original vue-ssr instead of copy ( #3644 )
2018-08-07 02:58:33 +02:00
Jonas Galvez
3f1d634fb7
Consistent parens in arrow functions ( #3630 )
...
* Minor consistency enhancements
* Arrow parenthesis consistency
* Change linting rule
* Fix typo
* Update .eslintrc.js to only require parens for blocks
* Update style according to brace-only suggestion
* Remove --fix from lint
* Tweak no-loading time (failing test)
* Tweak no-loading time (failing test) (2)
* Tweak no-loading time (failing test) (3)
* Tweak no-loading time (failing test) (4)
* Tweak no-loading time (failing test) (5)
2018-08-06 02:12:44 +02:00
Clark Du
22a53464a7
fix: allow quotes in messages ( #3525 )
2018-07-12 21:45:14 +01:00
ktsn
bf6416ae62
fix: ensure emit triggerScroll event after scrollBehavior is called
2018-06-21 15:22:52 +09:00
Pooya Parsa
6394639091
fix(nuxt-error): prevent duplicate errors
...
also hides 404s from ssr
2018-03-19 21:34:17 +03:30
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
Sébastien Chopin
de02ea4b5d
app: Better external url redirect handling
2018-01-15 12:22:57 +01:00
abalabahaha
704e7cd7d9
Fix router generation for page names containing @/~
2017-12-04 00:24:38 +03:30
Clark Du
40b9d23ea9
refactor: move redirect message to option.messges
2017-11-28 22:05:17 +08:00
Clark Du
21f9145309
feat: allow redirect to external url
2017-11-28 17:10:20 +08:00
Antério Vieira
2b51eb84db
Added support for placeholder slot
2017-11-24 12:32:52 -02:00
Daniel Post
aab684f8a8
Fix coding style
2017-11-21 12:15:11 +00:00
Daniel Post
dac47d43bf
Update no-ssr to v0.2.1
2017-11-21 12:13:35 +00:00
Atinux
4b79c38f41
fix: Fix Cannot read property 'components' of undefined
2017-11-16 13:23:05 +01:00
Atinux
fb44c2eb8e
fix: Fix Layouts transitions
2017-11-06 18:30:15 +01:00
Atinux
e80a77782a
update: Use path by default or Page.key
2017-11-06 18:29:45 +01:00
Sébastien Chopin
3b9f293e40
fix: Fix Hot reloading
2017-10-28 14:09:33 +02:00
Sébastien Chopin
5b09b92286
Refactor to use only one context and add route.meta
2017-10-20 10:52:07 +02:00
Pooya Parsa
b6f2405e7e
nuxt-child styling
2017-10-07 18:29:36 +03:30
Pooya Parsa
e4af41f529
rewrite nuxt.vue with render function
2017-10-07 13:17:31 +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
Pooya Parsa
251d87914d
fix(nuxt-error): always show errors in debug more
...
SPA mode in debug mode when error is not globally handled (thrown by other nuxt functions) there is no error at all in console logs
2017-09-05 23:35:04 +04:30
Pooya Parsa
a5e429830d
padding
2017-09-01 21:10:01 +04:30
Pooya Parsa
4af3917f6d
right -> left
2017-09-01 21:02:22 +04:30
Pooya Parsa
0d4bbf0b03
allow customize all messages for i18n
2017-09-01 21:00:49 +04:30
Pooya Parsa
a6a36b1d2f
simplify error pages
...
No dependencies and more mobile friendly
2017-09-01 20:29:56 +04:30
Sebastien Chopin
1eca064338
Merge branch 'dev' of github.com:nuxt/nuxt.js into dev
2017-08-29 14:01:34 +02:00
Sebastien Chopin
f65b2b80e1
Add rtl option to loading
2017-08-29 13:58:45 +02:00
patmood
971095af56
removed scoped css
2017-08-27 10:52:27 -07:00
patmood
02f9454b66
rename progress class to prevent conflicts
2017-08-26 18:16:30 -07:00
Sebastien Chopin
fb25c982a7
feature: Add no-ssr component
2017-08-24 12:38:46 +02:00
Pooya Parsa
9bfd00d3f4
update error page
2017-08-20 17:53:12 +04:30
Pooya Parsa
690cfe2114
improve spa errors
2017-08-20 17:43:42 +04:30
Pooya Parsa
0927c130ed
press keys to open developer tools
...
Stack traces without developer tools are useless. Instead show a beatiful message
2017-08-20 16:20:55 +04:30
Sebastien Chopin
6461bcc9cb
Add appear transition on spa mode
2017-08-18 15:44:34 +02:00
Sébastien Chopin
7d370d8126
Move $nuxt into App
2017-08-15 00:58:45 +02:00
Sébastien Chopin
2db589f4b4
Add white background for error page
2017-08-13 22:31:20 +02:00
Pooya Parsa
9340a0e7d0
fix error page stacks on dev
2017-08-10 15:15:49 +04:30
Pooya Parsa
2efa394529
chore(nuxt-error): use computed
2017-08-10 14:19:58 +04:30
Pooya Parsa
3abc779447
fix styles overriding for SPA mode
2017-08-06 00:03:07 +04:30
Pooya Parsa
9bb7d0331a
update error
2017-08-05 23:50:26 +04:30
Pooya Parsa
5d0681088d
Hide debug box on debug:false
...
prevents potential security bugs
2017-08-05 21:34:27 +04:30
Pooya Parsa
24fe134641
always add error.message
2017-08-05 21:22:26 +04:30
Alexandre Chopin
b2edab0517
use nuxtjs.org design colors
...
link, border and background-color
2017-08-05 17:19:46 +02:00