Commit Graph

706 Commits

Author SHA1 Message Date
Sebastien Chopin
01b02a9010 Add typescript compatibility 2017-05-05 14:07:54 +02:00
Sebastien Chopin
8a620dcc30 Force npm run lint before running tests 2017-05-05 14:07:40 +02:00
Sebastien Chopin
49a9052898 Upgrade dependencies 2017-05-05 12:12:36 +02:00
Sebastien Chopin
fd833216df Format code 2017-05-05 12:11:32 +02:00
Sébastien Chopin
71c9838008 Merge pull request #662 from jroxendal/generate-error-report
[Feature] generate error report
2017-05-05 11:57:04 +02:00
johan.roxendal@gu.se
70f959ccb8 rolled back changes to render, re-jiggled handling of errors in generate. 2017-05-05 11:47:24 +02:00
Johan Roxendal
d469f38d98 Adds generate error report from renderer and minification. Changes the behavior where generate would terminate on error, now it instead gathers the error from crashing routes and compiles an error report. 2017-05-05 10:59:33 +02:00
Sébastien Chopin
ded7de0e72 Merge pull request #633 from pi0/2.3.0
️ Upgrade to Vue 2.3.x
2017-05-05 10:57:05 +02:00
Pooya Parsa
c3769f64e7 [tests] update error assertion
Vue now gives better error "render function or template not defined in component" instead of "not_defined is not defined"
2017-05-02 15:55:04 +04:30
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