Commit Graph

55 Commits

Author SHA1 Message Date
Sébastien Chopin
2926b08344 No need to check on render anymore 2017-06-11 15:49:19 +02:00
Pooya Parsa
b37c7cbd8d chore: eslint 2017-06-05 13:27:41 +04:30
Pooya Parsa
bd54ddd2a7 feat(http2): push assets with single link header
less payload!

https://blog.cloudflare.com/http-2-server-push-with-multiple-assets-per-link-header
2017-06-05 13:26:07 +04:30
Pooya Parsa
349f6e6219 feat(http2): add render.http2.push option
This option disables http2 push headers by default as is currently inconsistent with different browser and webservers
2017-06-05 13:19:27 +04:30
Sébastien Chopin
f958801fff fix: modules called before renderer in production 2017-06-04 14:08:36 +02:00
Sebastien Chopin
5682eef2a5 Update coverage 2017-06-02 18:09:20 +02:00
Sebastien Chopin
1ae3062283 Add nuxt.ready(), dev depends on process.env.NODE_ENV, server waits for modules to be ready and build() is called on development by default 2017-06-02 17:58:53 +02:00
Sebastien Chopin
979e15db2a Update JSDOM logic 2017-05-30 18:18:01 +02:00
Sebastien Chopin
488010bf78 Upgrade dependencies and JSDOM API 2017-05-30 16:08:51 +02:00
Sébastien Chopin
78cd3bae86 Remove injectAs property, now you only have to export a method which receives the context 2017-05-21 21:00:41 +02:00
Pooya Parsa
dabfe68009 ESLint 2017-05-21 19:49:49 +04:30
Pooya Parsa
38e7dd509a HTTP.2 Push Headers 2017-05-21 19:33:38 +04:30
Pooya Parsa
dd32b5441f ETag header support 2017-05-21 16:48:21 +04:30
Pooya Parsa
1939e08cb2 deprecate performance key 2017-05-21 16:36:01 +04:30
Sébastien Chopin
48f617d174 disable console log 2017-05-20 11:36:09 +02:00
Pooya Parsa
effb354d71 performance.prefetch 2017-05-19 12:15:36 +04:30
Sebastien Chopin
d3f707dde2 Refactor code base 2017-05-17 11:27:05 +02:00
ausir
50a8648eeb user specified base then add base in html head 2017-05-17 00:58:27 +08:00
Sebastien Chopin
971372d763 Add base href every time 2017-05-16 15:56:46 +02:00
Sebastien Chopin
54dec8e4b5 Fix hot-update.json & add tests 2017-05-16 15:12:30 +02:00
Pooya Parsa
e9d998e522 Coverage 2017-05-16 01:30:06 +04:30
Pooya Parsa
c2befae5db Refactor with async/await instead of yield 2017-05-16 01:21:27 +04:30
Sebastien Chopin
7f1bf3d5f0 Fix typo 2017-05-05 16:48:04 +02:00
Pooya Parsa
6ee5d958a7 cleanups 2017-04-30 17:24:14 +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
d9ed6ecea9 integrate template with server renderer 2017-04-27 22:36:10 +04:30
Sébastien Chopin
d576dad069 Fix eslint + istanbul 2017-03-28 16:28:24 +02:00
Sébastien Chopin
2f2eaac299 Add debug for redirect on ssr 2017-03-26 23:38:51 +02:00
Alexandre Chopin
c9784651e9 add gzip configuration 2017-03-25 12:57:38 +01:00
Sébastien Chopin
5102e819fe Use data-* for vue-meta (valid markup)
- data-*
- remove defer for __NUXT__ script
2017-03-24 01:24:50 +01:00
Sébastien Chopin
64f83b71c3 Vue 2.2 and styles included 2017-03-22 15:47:34 +01:00
Sébastien Chopin
6ab20cc6b6 Fix error object 2017-03-22 10:37:20 +01:00
Sébastien Chopin
a81862e77f Upgrade dependencies & lint 2017-03-20 17:52:35 +01:00
Sébastien Chopin
66c5aad09d Fix redirected 2017-02-22 18:19:17 +00:00
Sébastien Chopin
8dfae9fa54 Fix headers sent 2017-02-21 18:22:27 +00:00
Sébastien Chopin
6cc1231eb2 Add performance option 2017-02-21 17:39:29 +00:00
Sébastien Chopin
10c4b1550f Use HTML template + optimise cache control + gzip 2017-02-21 17:11:41 +00:00
Sébastien Chopin
7b3c62739c Remove conditional nuxtStatic middleware 2017-02-21 11:31:47 +00:00
Sébastien Chopin
5a500b6735 Set publicPath and render always returns a promise 2017-02-15 18:19:18 +01:00
Sébastien Chopin
17650c25e0 Middleware feature 🔥 2017-02-03 15:09:38 +01:00
Sébastien Chopin
8d17d20dba Set virtualConsole to true by default 2017-01-30 12:41:59 +01:00
Sébastien Chopin
f3719add05 Add virtualConsole option 2017-01-26 15:21:02 +01:00
Mirodil
d17b12eac5 make it more compatible with other frameworks
make it use able with async with await
2017-01-22 18:35:44 -05:00
Sébastien Chopin
da63846f55 Use ES6 syntax with Webpack RC4 2017-01-11 20:15:09 +01:00
Sébastien Chopin
8102ce48eb Handle validate for nuxt generate 2016-12-21 15:03:23 +01:00
Sébastien Chopin
a7e2a87ee4 Ignore if in dev mode 2016-12-20 19:26:01 +01:00
Sébastien Chopin
0ea0bf8d87 Add more tests 2016-12-20 18:26:46 +01:00
Sébastien Chopin
37e7a01955 renderAndGetWindow does not need jsdom 2016-12-20 18:05:48 +01:00
Sébastien Chopin
b8ec7329f7 Set color for debug module 2016-12-15 18:48:31 +01:00