Commit Graph

91 Commits

Author SHA1 Message Date
Clark Du
a81af22d41
feature: add static.prefix 2018-02-04 00:54:42 +08:00
Diederik van den Burger
7bea248fe4 feat: added errorMiddleware hook. (#2703) 2018-01-27 18:42:30 +03:30
Clark Du
8b634c210d
feat: add noscript in head 2018-01-23 18:30:36 +08:00
Pooya Parsa
95c85bba62 minor improvements for #2608 2018-01-16 18:41:17 +03:30
Kouki Narumi
5ebf60f2a1 feat: external script support for CSP (#2608) 2018-01-16 18:40:10 +03:30
Pooya Parsa
10d1b5974c style: format with prettier 2018-01-13 08:52:11 +03:30
Samuel Horwitz
6e9be715b2 Adding support for Content-Security-Policy script-src safe inline, for SSR state transfer 2018-01-10 01:36:34 -05:00
Pooya Parsa
9fc2bace44 feat: upgrade to launch-editor 2.0.0 2018-01-07 11:51:36 +03:30
Pooya Parsa
4e24ec7eba feat: use launch-editor for open-in-editor functionality 2018-01-06 23:27:34 +03:30
Pooya Parsa
60714ecfc0 minor fixes 2018-01-05 02:03:46 +03:30
Pooya Parsa
42807fcdf9 perf: Use getPreloadFiles for HTTP2 push headers 2018-01-05 01:40:52 +03:30
Pooya Parsa
e54beeee1e refactor: move renderer middleware into seperate modules 2018-01-04 21:06:47 +03:30
Pooya Parsa
96c3b4a15b refactor: change _open endpoint to /__open-in-editor
upgrade @nuxtjs/youch to 4.0.0

ref: vuejs/vue-devtools#483
2018-01-04 20:44:48 +03:30
Pooya Parsa
9b8cbed512 perf: remove rollup build
Using native node 8.x for less transpilations
2017-12-12 13:12:29 +03:30
Pooya Parsa
65f2419052 coverage 2017-12-08 12:34:08 +03:30
Pooya Parsa
cac06d7067 fix(render): add _open middleware only for dev + debug 2017-12-08 12:22:15 +03:30
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