Commit Graph

112 Commits

Author SHA1 Message Date
Dmitriy
967a442d5e resolve extra modules if nuxt linked (#2212) 2017-11-24 11:50:00 +03:30
Clark Du
4cc4eefcf8 refactor: change getMeta to async 2017-11-24 11:40:21 +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
Clark Du
73509c29ba refactor: remove alreadyRequired which is always true 2017-11-19 17:18:02 +03:30
Pooya Parsa
711e6a916e fix: add deprecated warn for tapables + simple backward compatibility 2017-11-07 17:18:46 +03:30
Atinux
07eab4c643 feat: Handle body scripts from vue-meta 2017-11-06 13:33:19 +01:00
Atinux
8e9f17c491 hooks: Await for modules:before hook 2017-10-31 12:45:32 +01:00
Atinux
7137f848a2 hooks: Handle hooks as object 2017-10-31 12:33:15 +01:00
Sébastien Chopin
daaa5bdd12 hook: Handle hook error and continue process 2017-10-30 23:15:35 +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
f72e620d7d fix: Remove console.log 2017-10-30 18:44:39 +01:00
Atinux
6648695015 refacto: Hooks 2017-10-30 18:41:22 +01:00
Atinux
83815de91b lint: Update linting rule on space-before-paren 2017-10-30 17:51:11 +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
Pooya Parsa
1fcf3e685e fix(meta): remove data-n-head-ssr 2017-09-05 13:34:59 +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
384aebb67d lint code 2017-08-21 17:31:12 +02:00
Sebastien Chopin
8f929c3929 Remove old way to handle meta tags 2017-08-21 11:39:01 +02:00
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
a078a631eb fix meta typos 2017-08-19 13:16:58 +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
Hana Shiro
db19b50a02 internals: improve options module (#1392) 2017-08-16 12:10:10 +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
f23a6d34a4 [internal] use es6 exports
prevent rollup warning
2017-08-10 14:08:31 +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