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
e70d0ba7d0
add title for spa error handler
2017-08-05 16:40:47 +04:30
Pooya Parsa
a0cb08e451
spa global error handler
...
prevents white screens on critical vue errors and shows nuxt error page
2017-08-05 16:23:19 +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
Pooya Parsa
b7715dc288
update error.html
2017-08-05 12:07:55 +04:30
Pooya Parsa
67bd208c73
better SSR error pages
...
full stack trace and source maps support
2017-08-05 05:28:26 +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
Sebastien Chopin
28d0e72641
Fix context.app in client-side
2017-07-28 10:21:58 +02:00
Sebastien Chopin
4a6b651d56
Add beforeNuxtRender hook
2017-07-27 16:26:59 +02:00
Sebastien Chopin
6c6e6e55aa
Fix layout not declared
2017-07-27 16:26:36 +02:00
Sebastien Chopin
1b2b9dbbe7
Fix context route in plugins for client-side
2017-07-26 13:56:43 +02:00
Hana Shiro
1401434594
Resolve non-js package importing
2017-07-22 20:29:44 +08:00
Sébastien Chopin
03aa65a888
context: Add on client-side
2017-07-20 21:04:23 +02:00
Sébastien Chopin
d1d631a88e
Remove logs
2017-07-20 20:37:52 +02:00
Pooya Parsa
0fece913e5
feat(app): hide error logs in production
2017-07-13 13:29:10 +04:30
Pooya Parsa
3ef0d15f6b
perf: use es6 import for plugins
2017-07-11 03:23:06 +04:30
Sébastien Chopin
a870896c67
Merge branch 'dev' of github.com:Atinux/nuxt.js into dev
...
Conflicts:
lib/app/client.js
lib/app/server.js
2017-07-10 09:02:35 +02:00
Pooya Parsa
518692b2f4
chore: minor fixes
2017-07-10 04:27:50 +04:30
Pooya Parsa
a9f2f299a3
chore: minor olishes
2017-07-10 03:10:09 +04:30
Pooya Parsa
5da4e49d56
chore: polish app/index.js
2017-07-10 02:59:27 +04:30
Pooya Parsa
f635b73a0b
chore: minor improvements for server.js
2017-07-10 02:11:44 +04:30
Pooya Parsa
ddc6369e05
chore: polish client.js
2017-07-10 02:11:04 +04:30
Sébastien Chopin
2cc78c0446
Remove dynamic components
2017-07-09 23:06:17 +02:00
Sébastien Chopin
f07d9855b6
Polish app/server.js
2017-07-09 16:50:55 +02:00
Sébastien Chopin
78400042ef
Merge branch 'dev' of github.com:Atinux/nuxt.js into dev
2017-07-09 16:31:25 +02:00
Sébastien Chopin
ad85582f5c
Rename routerViewKey to nuxtChildKey
2017-07-09 16:29:14 +02:00
Pooya Parsa
db2a5ef75a
update server.js
2017-07-09 17:07:54 +04:30
Pooya Parsa
4bf0a46cb0
chore: polish app/server.js
2017-07-09 17:07:54 +04:30
Sébastien Chopin
a963b566c1
Use nuxtChildKey as computed by default
2017-07-09 12:23:56 +02:00
Sébastien Chopin
f490652d18
Merge pull request #1022 from silverbackdan/silverbackdan-vue-router-key
...
Configurable 'key' attribute/property for transitions
2017-07-08 12:57:52 +02:00
Sebastien Chopin
e5906e5ac4
Avoid loop redirect on server-side
2017-07-07 15:44:04 +02:00
Pooya Parsa
9226f606b5
fix(dynamic components): temporary fix for vue-loader 13.0.0
2017-07-07 02:43:35 +04:30
Pooya Parsa
aaf924f49d
fix(asyncData): keep results in ssrContext
2017-07-07 02:03:11 +04:30
Pooya Parsa
a2f62b3bbd
fix: support for vue-loader 13.0.0
...
https://github.com/vuejs/vue-loader/releases/tag/v13.0.0
2017-07-05 02:56:42 +04:30
Sebastien Chopin
0831f9c5bc
Use es6-promise instead
2017-07-04 18:38:09 +02:00
Sebastien Chopin
70a75f4e42
Compatible with IE9+
2017-07-04 18:30:01 +02:00
Sebastien Chopin
71faf7cae3
IE9: fix issue with Array.find and String.includes
2017-07-04 15:41:43 +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
Sébastien Chopin
e4e9149b54
feat: Add dynamic component injection + example
2017-07-02 20:47:01 +02:00
Pooya Parsa
447e85af14
depricated ~ in flavour of @ for aliases
2017-06-29 21:06:22 +04:30
Pooya Parsa
6a562e1fe7
fix minor problems with relative
2017-06-21 01:53:53 +04:30
Sébastien Chopin
4cfe700846
Use relative path for plugins paths
2017-06-20 20:31:03 +02:00
Sebastien Chopin
e1126d799c
Use relative path
2017-06-20 19:12:06 +02:00
Sébastien Chopin
664ce12662
Fix: transition property beeing a function
2017-06-19 23:30:05 +02:00
Pooya Parsa
766009dbba
Cleaner structure
2017-06-18 12:06:00 +04:30