Commit Graph

3279 Commits

Author SHA1 Message Date
Xavier Damman
4e97bd465d Added backers and sponsors on the README 2017-05-09 09:21:36 -04:00
Sebastien Chopin
64abcc04a8 Fix middleware on client-side 2017-05-09 14:43:47 +02:00
Sebastien Chopin
9099b00963 Merge branch 'master' into fix-middleware 2017-05-09 14:18:25 +02:00
Johan Roxendal
63568ceb24 added sourcemaps support to scss-loader and css-loader 2017-05-09 13:24:55 +02:00
Alexandre Chopin
92bbacbbdf Update README.md 2017-05-09 10:48:26 +02:00
Sébastien Chopin
bce3784921 Merge pull request #682 from jroxendal/fix-scss
scss should be handled by sass-loader
2017-05-08 23:17:47 +02:00
Sébastien Chopin
8865cdc1d8 Merge pull request #683 from jroxendal/fix-generate
Fixed refractoring error in generate
2017-05-08 23:16:55 +02:00
Sébastien Chopin
834aa3bcd6 Merge branch 'fix-middleware' of github.com:Atinux/nuxt.js into fix-middleware
Conflicts:
	lib/app/client.js
	lib/app/server.js
2017-05-08 19:33:55 +02:00
Sébastien Chopin
888811f5f4 Fix middleware on server-side 2017-05-08 19:30:57 +02:00
Johan Roxendal
0fe5b2c17f Fixed refractoring error in generate 2017-05-08 09:22:35 +02:00
johan.roxendal@gu.se
b6c5428da5 scss should be handled by sass-loader 2017-05-07 21:46:57 +02:00
Sébastien Chopin
529b7bcf95 Fix yarn lock 2017-05-07 15:43:29 +02:00
Sebastien Chopin
e148e4b93a Add extractCSS option 2017-05-05 17:53:21 +02:00
Sébastien Chopin
05085cbc99 Merge pull request #668 from pi0/fixes
Fixes
2017-05-05 16:50:31 +02:00
Sébastien Chopin
072216c045 Merge branch 'master' into fixes 2017-05-05 16:50:24 +02:00
Sebastien Chopin
333e3cf13a Add other extensions 2017-05-05 16:48:12 +02:00
Sebastien Chopin
7f1bf3d5f0 Fix typo 2017-05-05 16:48:04 +02:00
Sebastien Chopin
6178527177 Improve logs 2017-05-05 16:47:50 +02:00
Sebastien Chopin
39db08c95b Lint 2017-05-05 16:47:28 +02:00
Pooya Parsa
98ffc2110b [tests] ensure global styles are inlined 2017-05-05 18:55:17 +04:30
Pooya Parsa
6504b0666a ESLint Fixes 2017-05-05 18:45:00 +04:30
Pooya Parsa
e2e849fbd2 [vue-style-loader] Inline global css on SSR
Currently with `<style src>` approach global styles are injected on
runtime only and this may affect page render performance.
2017-05-05 18:40:12 +04:30
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
Sébastien Chopin
4b675e3357 Fix middleware on server-side 2017-05-04 09:57:10 +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