Commit Graph

75 Commits

Author SHA1 Message Date
Clark Du
30714c989a refactor: change settimeout to waitFor (#2220) 2017-11-24 11:39:45 +03:30
Clark Du
377416a7ef refactor: eslint adjustments 2017-11-19 17:18:02 +03:30
Atinux
07eab4c643 feat: Handle body scripts from vue-meta 2017-11-06 13:33:19 +01:00
Sébastien Chopin
ad59f788dc hook: Add render:route hook 2017-10-30 23:15:06 +01:00
Sébastien Chopin
94ad5955e6 Hooks ready to be tested 2017-10-30 22:39:08 +01:00
Atinux
6648695015 refacto: Hooks 2017-10-30 18:41:22 +01:00
Atinux
379d4f72d4 refacto: Refacto nuxt.build() to finish after webpack is done 2017-10-30 15:46:06 +01:00
Clark Du
327fabb663
fix: originalPositionFor return null when using babel-loader 2017-10-30 12:15:25 +08:00
Sébastien Chopin
262bffc35d minor: Add ENV into app.html template 2017-10-28 16:10:01 +02:00
Sebastien Chopin
e3974b4729 deprecation: Deprecate isServer, isClient and dev 2017-10-20 12:05:22 +02:00
Sebastien Chopin
7afa5e4c13 Fix serverMiddleware as express app without path 2017-10-20 10:52:07 +02:00
Clark Du
f8bc7e2383
refactor: renderToString now returns a Promise if no callback is passed 2017-10-16 11:29:09 +08:00
Pooya Parsa
f6d09642d7 fix renderAndGetWindow for SPA mode 2017-10-07 12:36:34 +03:30
Pooya Parsa
e289edc67e fix: show server errors in console 2017-09-12 02:57:51 +04:30
Pooya Parsa
b41fcbc789 feat: open in editor 2017-09-10 00:52:07 +04:30
Clark Du
eae828ccc6 remove condition due to 'this.options.dev' is always false
Signed-off-by: Clark Du <clark.duxin@gmail.com>
2017-09-08 12:10:57 +08:00
Pooya Parsa
9b8d3f11e7 fix: Handle 404 errors in SPA 2017-09-07 17:06:56 +04:30
Smadey
fd07d1ff38 Add "resourcesLoaded" plugin for Renderer
Provide the ability to modify resources before use.
2017-09-06 10:38:56 +08:00
Pooya Parsa
888b141a27 feat(renderer): allow disable router.base with prefix:false 2017-09-05 21:16:06 +04:30
Sebastien Chopin
696ada09c4 Add resourceHints for SPA mode 2017-08-30 14:47:07 +02:00
Pooya Parsa
f933dd1f32 improve useMiddleware 2017-08-25 17:37:45 +04:30
Pooya Parsa
1ca5739a2f add router base to all middleware 2017-08-25 16:31:16 +04:30
Pooya Parsa
459363beea fix(renderer): resolve handler key as option for serverMiddleware
#1274
2017-08-23 02:44:44 +04:30
32c6d39358 fixes #1438 (#1439) 2017-08-22 18:27:11 +04:30
Sebastien Chopin
39f431efdf Use vue-meta for meta tags 2017-08-21 11:38:21 +02:00
Sébastien Chopin
e7b7f15166 Remove ssr only check 2017-08-19 15:31:26 +02:00
Pooya Parsa
a585d8cb35 imrpove CLI experience for OPEN url 2017-08-19 14:59:41 +04:30
Pooya Parsa
b2a92e185e SPA Resource Hints using meta
- W3 valid resource hints
- Supporting options.render.resourceHints
2017-08-19 14:20:45 +04:30
Pooya Parsa
866e31d1a6 Spa Meta 2017-08-18 20:35:01 +04:30
Pooya Parsa
d589bc5819 static ~> ssr-only 2017-08-18 17:16:03 +04:30
Pooya Parsa
136f066556 loadingIndicator support for SPA 2017-08-18 14:56:19 +04:30
Pooya Parsa
127155d61a workaround for es6-promise and vue-server-renderer 2017-08-10 16:16:00 +04:30
Pooya Parsa
d7cb08b746 improve server bundle size
explicitly excluding nuxt's node_modules optimizes bundle size in both normal usage and when using in test/linked/npx
2017-08-10 15:39:25 +04:30
Pooya Parsa
1c527c2db6 render.debug ~> debug
debug on build phase affects generated templates too
2017-08-06 02:18:43 +04:30
Pooya Parsa
9bb7d0331a update error 2017-08-05 23:50:26 +04:30
Pooya Parsa
d9c2c85f2a consitent production error pages 2017-08-05 14:54:12 +04:30
Pooya Parsa
8b63b64f54 feat: dynamic spa using serverMiddleware 2017-08-05 13:08:21 +04:30
Pooya Parsa
e9b66c2e41 feat: response json to curl clients on error 2017-08-05 12:23:06 +04:30
Pooya Parsa
c709b22612 update error tests 2017-08-05 12:17:30 +04:30
Pooya Parsa
25fdb28d41 more consistent errors 2017-08-05 12:13:10 +04:30
Pooya Parsa
e274db67a9 feat: json error response for application/json requests 2017-08-05 12:04:33 +04:30
Pooya Parsa
67bd208c73 better SSR error pages
full stack trace and source maps support
2017-08-05 05:28:26 +04:30
Sébastien Chopin
8e3bd5ffe6 Set back next 2017-07-30 19:48:48 +02:00
Sébastien Chopin
a17c551fca Don't use next anymore 2017-07-30 18:38:06 +02:00
Pooya Parsa
be4d8c5e13 internal refactors 2017-07-30 16:50:58 +04:30
Pooya Parsa
1417dae99b update tapable plugins 2017-07-30 16:17:50 +04:30
Pooya Parsa
b5ca6b7975 feat: enhance tapables usage 2017-07-17 23:56:41 +04:30
Pooya Parsa
a3be3cfe1b feat: mode option 2017-07-11 04:54:39 +04:30
Sébastien Chopin
2cc78c0446 Remove dynamic components 2017-07-09 23:06:17 +02:00
Pooya Parsa
9475e1c431 feat: top level ssr option 2017-07-05 02:20:43 +04:30