Commit Graph

1197 Commits

Author SHA1 Message Date
Pooya Parsa
aeea3cb9eb [tests] fix dynamic routes end of array detection 2017-05-02 15:48:44 +04:30
Pooya Parsa
a04a563f8d create store only when available 2017-05-02 15:36:22 +04:30
Pooya Parsa
affbc9c81f fixClientManifest no needed as of vue 2.3.1 2017-05-02 14:31:15 +04:30
Pooya Parsa
8a25da81fb [test] update fixtures store to return a function 2017-05-02 14:05:09 +04:30
Pooya Parsa
670b1254dd [deps] upgrade
Upgrades vue to 2.3.1
2017-05-02 13:46:51 +04:30
Evan You
74652e3974 make use of runInNewContext: false 2017-05-02 13:33:09 +04:30
Pooya Parsa
6ee5d958a7 cleanups 2017-04-30 17:24:14 +04:30
Pooya Parsa
2e75f22a08 add options.ssr
This allows setting custom vue renderer options. including:
- shouldPreload(file, type)
- runInNewContext
- directives

https://ssr.vuejs.org/en/api.html#renderer-options
2017-04-30 17:10:04 +04:30
Pooya Parsa
87172100c7 [vue-loader] allow using builtin extractCSS functionality
This option is disabled by default and won't affect exiting users.
However users can easily enable this option using `nuxt.build.extractCSS`

Implementation is according to:
- https://github.com/vuejs/vue-loader/tree/master/docs/en/configurations
- https://ssr.vuejs.org/en/css.html
- https://github.com/vuejs/vue-hackernews-2.0/tree/master/build
2017-04-30 16:28:25 +04:30
Sébastien Chopin
5d4f289911 Update to 0.10.7 2017-04-29 16:31:42 -07:00
Pooya Parsa
379fb753ca [ci] drop node<6
This is because jsdom no longer supports this environments
2017-04-30 02:47:28 +04:30
Pooya Parsa
56c39bea88 fix tests 2017-04-30 02:39:40 +04:30
Pooya Parsa
8391f308b7 [jsdom] use new VirtualConsole constructor 2017-04-30 01:40:56 +04:30
Pooya Parsa
2d7a0874f0 Merge branch 'master' into 2.3.0 2017-04-30 01:27:05 +04:30
Pooya Parsa
57d391cb99 [deps] upgrade
Also yarn.lock included to have consistent CI builds
2017-04-30 01:23:07 +04:30
Sébastien Chopin
caa5ef17d6 Merge pull request #637 from qm3ster/emergency-limit-vue-version
Emergency limit Vue version
2017-04-28 13:09:06 +02:00
Pooya Parsa
ec552bc5e9 [deps] upgrade vue-loader to 12.x
This brings Compatibility for the new features in vue-server-renderer@^2.3.0.
https://github.com/vuejs/vue-loader/releases/tag/v12.0.0
2017-04-27 23:53:57 +04:30
Mihal Malostanidis
5bd5865729 Emergency limit Vue version
temporary for #636
2017-04-27 21:45:59 +03:00
Pooya Parsa
d9ed6ecea9 integrate template with server renderer 2017-04-27 22:36:10 +04:30
Pooya Parsa
750276b3f6 refactor client watch
Fixes duplicate READY message
2017-04-27 21:14:31 +04:30
Pooya Parsa
6945479984 fix test resources 2017-04-27 20:02:41 +04:30
Pooya Parsa
ac151a41f0 Basic vue-server-renderer/client-plugin integration 2017-04-27 15:50:43 +04:30
Pooya Parsa
8db3a22db9 deprecated vue-ssr-webpack-plugin in flavor of vue-server-renderer 2017-04-27 13:24:18 +04:30
Pooya Parsa
c6eef59823 [deps] upgrade vue to 2.3.0 2017-04-27 13:20:19 +04:30
Sebastien Chopin
10d18bc454 Add generate.interval 2017-04-25 15:00:42 +02:00
Sébastien Chopin
296ea8ad4e Merge pull request #617 from jroxendal/feature-generate-wait
[Feature] implemented staggered route generate. Fixes #590
2017-04-25 14:46:55 +02:00
johan.roxendal@gu.se
afa2e6b05c Implemented wait in generate function so generation of dynamic routes with ajax calls are not all sceduled simultaneously, possibly flooding the data backend with queries.
Use generate.wait (ms) to stagger route generate calls over time.

Fixes #590.
2017-04-25 14:04:49 +02:00
Sébastien Chopin
8cbdf77c34 Merge pull request #616 from qm3ster/patch-1
Fix Ctrl-C Ctrl-V typo in comments
2017-04-25 13:47:05 +02:00
Mihal Malostanidis
5e21a057aa Fix Ctrl-C Ctrl-V typo in comments 2017-04-25 14:03:26 +03:00
Sebastien Chopin
65a3ad5b08 Generate bundles in dist/ if url given 2017-04-25 11:17:23 +02:00
Sébastien Chopin
a24522edad Merge pull request #600 from pi0/patch-3
[examples] Update custom filenames #574
2017-04-24 15:08:13 +02:00
Pooya Parsa
56f3be060c [examples] Update custom filenames #574 2017-04-21 21:33:29 +04:30
Sébastien Chopin
7b7a102be3 Merge pull request #592 from alexmoreno/master
Add support to --config-file to nuxt-dev
2017-04-20 11:13:17 +02:00
Alex M
c177354633 Add support to --config-file to nuxt-dev 2017-04-19 17:01:26 -03:00
Sébastien Chopin
0bea10b857 Fix vue-class-component example 2017-04-17 18:15:55 +02:00
Sébastien Chopin
2eecb8c0de Add webpackChunkName 2017-04-17 18:15:37 +02:00
Sébastien Chopin
6886f8bd57 Upgrade dependencies 2017-04-17 18:15:21 +02:00
Sébastien Chopin
854e262445 Bump to 0.10.6 2017-04-17 15:58:43 +02:00
Sébastien Chopin
cce71ce8d5 Add test for offline-plugin 2017-04-17 15:58:18 +02:00
Sébastien Chopin
e69aa7c401 Simplify offline plugin 2017-04-17 15:27:32 +02:00
Sébastien Chopin
ec8291ea4c Fix lint style 2017-04-15 13:19:41 +02:00
Sebastien Chopin
f89722e7c8 Example with vue-class-component 2017-04-14 16:47:21 +02:00
Sebastien Chopin
b5330a063d Use cheap-module-source-map 2017-04-14 16:31:31 +02:00
Sebastien Chopin
e2ad6517e2 Give this to data() 2017-04-14 16:31:14 +02:00
Sebastien Chopin
b0d33bdc4b Draft for using vue-apollo (WIP) 2017-04-14 12:52:27 +02:00
Sebastien Chopin
d1804e1b9b Add vue-i18n dependency 2017-04-14 12:52:13 +02:00
Sebastien Chopin
b49cf4d9d5 Fix tests 2017-04-14 12:06:40 +02:00
Sebastien Chopin
ee6db19c8d Update style 2017-04-14 11:57:30 +02:00
Sebastien Chopin
55db6e336f Add injectAs feature 2017-04-14 11:57:08 +02:00
Sebastien Chopin
7a6bc85b62 Upgrade dependencies 2017-04-14 11:56:50 +02:00