Commit Graph

1128 Commits

Author SHA1 Message Date
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
Pooya Parsa
b209c80d2b feat: add tappable hooks 2017-07-03 15:41:40 +04:30
Pooya Parsa
a587b798e4 gitignore .DS_Store 2017-07-03 14:41:20 +04:30
Pooya Parsa
c348d83120 feat: basic support for ssr:false 2017-07-03 04:23:19 +04:30
Sébastien Chopin
e4e9149b54 feat: Add dynamic component injection + example 2017-07-02 20:47:01 +02:00
Sébastien Chopin
97e873bb6b Merge branch 'dev' of github.com:Atinux/nuxt.js into dev 2017-07-02 20:16:58 +02:00
Pooya Parsa
b41fb5e88c update @ deprecated warning 2017-07-02 02:35:07 +04:30
Pooya Parsa
57e75c58d2 fix(resolvePath): using require.resolve first to support scopped module 2017-06-30 15:49:22 +04:30
Pooya Parsa
29a7874169 update tests 2017-06-29 21:30:18 +04:30
Pooya Parsa
447e85af14 depricated ~ in flavour of @ for aliases 2017-06-29 21:06:22 +04:30
Alexandre Chopin
f488eda003 add static 404.html 2017-06-29 13:34:59 +02:00
Pooya Parsa
53d2acd733 eslint 2017-06-27 22:30:03 +04:30
Sébastien Chopin
fa71a46403 Update README.md 2017-06-26 11:58:55 +02:00
Sébastien Chopin
fd8abe84b3 Update readme 2017-06-21 18:57:58 +02:00
Pooya Parsa
39ee66c6e5 nuxt-start 2017-06-21 21:02:57 +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