Commit Graph

3794 Commits

Author SHA1 Message Date
Sébastien Chopin
9e2c4b9761 Merge branch 'dev' of github.com:Atinux/nuxt.js into dev 2017-07-09 02:35:40 +02:00
Sébastien Chopin
505aed4575 Use transitions for 🙀 2017-07-09 02:35:07 +02:00
Sébastien Chopin
dca165828a Update README.md 2017-07-09 02:09:03 +02:00
Sébastien Chopin
272ae52c73 Remove first timeout 2017-07-09 01:50:26 +02:00
Sébastien Chopin
2dafa52bc4 Update README 2017-07-09 01:47:13 +02:00
Sébastien Chopin
c7ce0802c9 Updates dynamic examples 2017-07-09 01:44:59 +02:00
Sébastien Chopin
51694783b9 Fix paths & typo 2017-07-08 20:31:41 +02:00
Sébastien Chopin
ebb67243c8 Fix path and add random image 2017-07-08 20:26:11 +02:00
Sébastien Chopin
592f8cc733 Remove offline example 2017-07-08 20:16:01 +02:00
Sébastien Chopin
56272eb5fd Remove generate routes 2017-07-08 20:05:28 +02:00
Sébastien Chopin
5e93befc44 Fix paths 2017-07-08 20:01:57 +02:00
Sébastien Chopin
1d0493c0c1 Fix paths 2017-07-08 19:58:07 +02:00
Sébastien Chopin
6f84f69b7a Fix paths & typo 2017-07-08 19:55:39 +02:00
Sébastien Chopin
763ca011e9 Update scripts 2017-07-08 19:47:23 +02:00
Sébastien Chopin
1e064ac180 Fix path 2017-07-08 19:44:05 +02:00
Sébastien Chopin
6164c12524 Update example 2017-07-08 19:40:41 +02:00
Sébastien Chopin
eaf362910f Use async/await 2017-07-08 18:52:29 +02:00
Sébastien Chopin
a39b9fe13b Fix typo 2017-07-08 18:49:37 +02:00
Sébastien Chopin
4098e68983 Use render.bundleRenderer 2017-07-08 18:41:10 +02:00
Sébastien Chopin
a0c4709777 Fix typo 2017-07-08 18:14:40 +02:00
Sébastien Chopin
1d77431db0 Use serverMiddleware instead of a module 2017-07-08 18:09:47 +02:00
Sébastien Chopin
1f7508d033 Update example 2017-07-08 18:05:44 +02:00
Sébastien Chopin
209beb0677 Merge branch 'dev' of github.com:Atinux/nuxt.js into dev 2017-07-08 18:05:06 +02:00
Sébastien Chopin
5c8ac31b3c Update example to not use a custom server anymore 2017-07-08 18:04:47 +02:00
Sébastien Chopin
67939fd066 Update README.md 2017-07-08 17:13:54 +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
Sébastien Chopin
b646c50dd1 Merge pull request #1040 from mgesmundo/fix-1039
Fix #1039
2017-07-08 12:53:36 +02:00
Sebastien Chopin
e5906e5ac4 Avoid loop redirect on server-side 2017-07-07 15:44:04 +02:00
Sebastien Chopin
b65f4533c6 Remove console.log 2017-07-07 15:41:33 +02:00
Sebastien Chopin
a4c4b88de4 Use boolean for ssr option 2017-07-07 15:41:25 +02:00
Sebastien Chopin
59d335b696 Update CSS example 2017-07-07 12:25:14 +02:00
Pooya Parsa
b02dfc7ebc update tests 2017-07-07 02:57:27 +04:30
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
Marcello Gesmundo
f30a4f7169 Fix #1039 2017-07-06 15:02:48 +02:00
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
Pooya Parsa
498c6be7a5 feat(generator): refactor generate into functions 2017-07-05 02:56:01 +04:30
Pooya Parsa
9475e1c431 feat: top level ssr option 2017-07-05 02:20:43 +04:30
Sebastien Chopin
0831f9c5bc Use es6-promise instead 2017-07-04 18:38:09 +02:00
Sebastien Chopin
a7793bb3de Merge branch 'dev' of github.com:nuxt/nuxt.js into dev 2017-07-04 18:30:13 +02:00
Sebastien Chopin
70a75f4e42 Compatible with IE9+ 2017-07-04 18:30:01 +02:00
Pooya Parsa
ea1b5ae10f feat: better aliases 2017-07-04 18:52:13 +04:30
Sebastien Chopin
71faf7cae3 IE9: fix issue with Array.find and String.includes 2017-07-04 15:41:43 +02:00
Pooya Parsa
bfd8475979 test(ssr): async components 2017-07-03 22:59:38 +04:30
Pooya Parsa
28d20ec262 test(ssr): add unique test 2017-07-03 22:49:22 +04:30
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
Sebastien Chopin
d3cacd0e58 Add back error handler on nuxt-dev 2017-07-03 13:53:37 +02:00
Pooya Parsa
14c67f935e eslint 2017-07-03 15:58:38 +04:30
Pooya Parsa
bf1065f438 more webpack friendly tappable hooks 2017-07-03 15:58:10 +04:30
Pooya Parsa
205113dfce update tests 2017-07-03 15:47:22 +04:30