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
Pooya Parsa
53c516f908
show whoops error stack on dev
2017-08-05 17:03:14 +04:30
Pooya Parsa
518545df29
show back to homepage on whoops pages
2017-08-05 16:42:59 +04:30
Pooya Parsa
ad4c865957
fix(error): reset global styles
2017-08-05 15:33:56 +04:30
Pooya Parsa
d9c2c85f2a
consitent production error pages
2017-08-05 14:54:12 +04:30
Sébastien Chopin
62cd7f5d11
Fix path
2017-08-01 15:34:14 +02:00
Daniel West
37c3d5433d
Improvements by @Atinux
...
https://github.com/nuxt/nuxt.js/pull/1209#issuecomment-319362924
2017-08-01 14:16:23 +01:00
Daniel West
23ebb41353
Improved default key for page with children
...
If a route being navigated to from a layout has children, I think this would be a better default key
2017-07-29 18:10:04 +01:00
Sébastien Chopin
ad85582f5c
Rename routerViewKey to nuxtChildKey
2017-07-09 16:29:14 +02:00
Sébastien Chopin
a963b566c1
Use nuxtChildKey as computed by default
2017-07-09 12:23:56 +02:00
Daniel West
825d0e4c82
Configurable key property for transitions
...
The vue-router component can have a 'key' property which means it's easier to configure transitions between routes with slugs.
With this change in a layout template you can use
```html
<nuxt :routerViewKey="routerViewKey" />
```
And the following for example
```js
computed: {
routerViewKey () {
if (this.$route.name === 'service') {
return this.$route.name
} else {
return this.$route.fullPath
}
}
}
```
This would implement the functionality that @myst729 mentioned here https://github.com/vuejs/vue-router/issues/474 for vue-router - some routes can just switch, but some you may want to transition as though it's a complete new page to an end-user
This is a possible resolution to issue raised here https://github.com/nuxt/nuxt.js/issues/1021
2017-07-03 18:19:29 +01:00