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
Pooya Parsa
447e85af14
depricated ~ in flavour of @ for aliases
2017-06-29 21:06:22 +04:30
Sebastien Chopin
e1126d799c
Use relative path
2017-06-20 19:12:06 +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
9a2767ac90
Layout on afterEach
2017-02-20 22:11:34 +00:00
Sébastien Chopin
b4f9504942
Update order
2017-02-10 00:47:35 +01:00
Matthew Pietz
f1386c3a5e
Remove extraneous div
...
Vue 2.x allows multiple root elements when only one would be rendered. Using `v-if` with `v-else` ensures that only one component will get rendered.
2017-02-09 00:25:04 -08:00
Sébastien Chopin
f33afa521f
Fix progress bar on different layouts ( #113 )
2017-01-30 11:20:20 +01:00
Sébastien Chopin
3b553ce16a
Add enterToClass and leaveToClass
2017-01-02 18:05:53 +01:00
Sébastien Chopin
fcae73a79b
Remove nuxt-container
2016-12-24 17:58:52 +01:00
Sébastien Chopin
b870a7206e
Add layout feature
2016-12-24 01:55:32 +01:00
Sébastien Chopin
0142dae008
Replace router-link to nuxt-link
2016-12-16 18:12:38 +01:00
Sébastien Chopin
2cf68b6019
add nuxt-child and nuxt-link
2016-12-16 17:45:47 +01:00
Alexandre Chopin
b245b8d6ff
update nuxt-child props
2016-12-13 19:00:21 +01:00
Alexandre Chopin
b6b1fc3073
add component nuxt-child
2016-12-13 17:42:45 +01:00
Chris Fritz
12e6b6cb9c
Use spaces instead of tabs for consistency
...
Since the rest of the file is using spaces, I changed the tabs before `NuxtLoading` to spaces as well.
2016-12-12 18:59:48 -05:00
Sébastien Chopin
509c14a7ac
Add $nuxt.error()
2016-12-04 19:16:47 +01:00
Sébastien Chopin
05372d9068
Remove pages/_error-debug.vue
2016-11-25 17:56:46 +01:00
Sébastien Chopin
2400fabceb
Add transition option and package.json next config
2016-11-21 19:53:11 +01:00
Sébastien Chopin
edd0227e74
Add pages/_app.vue possibility + example
2016-11-21 14:15:08 +01:00
Sébastien Chopin
218894295b
Add title in error pages
2016-11-19 22:48:06 +01:00
Sébastien Chopin
ae9b41f321
Add callback argument (optional) in data
2016-11-19 22:16:26 +01:00
Sébastien Chopin
b6ee7099a0
Rename components (moved from pages)
2016-11-10 21:52:27 +01:00
Sébastien Chopin
e80cf65d21
Faster Loading component
...
- Finished examples/custom-routes/
2016-11-07 21:58:56 +01:00
Sébastien Chopin
2956e73c3e
Loading component done
...
- Loading component working and customisable via nuxt.config.js (see
examples/async-data/)
- Accept callback for new Nuxt(options, cb) with cb(null, nuxt)
- Simplify async-data example
2016-11-07 19:21:32 +01:00
Sébastien Chopin
8ab135af55
Prototype 0.1.0 working
...
Alpha 0.1.0
2016-11-07 02:34:58 +01:00