Commit Graph

89 Commits

Author SHA1 Message Date
Sébastien Chopin f57096e572
Merge pull request #3019 from nikugogoi/dev
pull request for issue #3018
2018-03-19 19:15:36 +01:00
Nabarun Gogoi 28dede9687 pull request for issue #3018 2018-03-14 15:33:17 +05:30
Clark Du ad744e3e31 refactor: remove unused dependencies 2018-03-13 18:33:45 +08:00
Sébastien Chopin 00f98c150f fix: Fix error undefined on plugins errors 2018-01-23 10:41:50 +01:00
Sébastien Chopin d444f2a5b1 enhancement: Add path to 404 error message on server-side 2018-01-18 14:06:15 +01:00
Ben Zhao a67ae8672b
fix: ssrContext.error is not a function 2018-01-16 19:01:03 +08:00
Clark Du 16c12d1e85 refactor: remove unnecessary return await (#2224)
* refactor: remove unnecessary return await

* refactor: remove unnecessary async
2017-11-24 12:03:47 +03:30
Pooya Parsa ad4aea3546
typo: e -> err 2017-11-11 01:21:10 +03:30
Clark Du 6b6aa3e392
refactor: log nuxtServerInit error for better error tracing 2017-11-10 14:04:43 +08:00
Atinux 3d49d8d290 feat: Add Page.watchQuery 2017-11-06 18:30:37 +01:00
Atinux e97bb1d099 fix: Handle middleware fn in nuxt.config.js 2017-11-03 17:24:20 +01:00
Atinux 23919a9e01 feat: Add middleware as function 2017-11-03 17:14:05 +01:00
Sebastien Chopin e3974b4729 deprecation: Deprecate isServer, isClient and dev 2017-10-20 12:05:22 +02:00
Sébastien Chopin 5b09b92286 Refactor to use only one context and add route.meta 2017-10-20 10:52:07 +02:00
Pooya Parsa 0d4bbf0b03 allow customize all messages for i18n 2017-09-01 21:00:49 +04:30
LookinGit 16608fad25 ~ fix asyncData parent + children pages in production build (#1248) 2017-08-25 08:56:38 +03:00
Wu Haotian 221bb8800f
Fix class component checks for extended components 2017-08-11 17:36:05 +08:00
Sebastien Chopin 4a6b651d56 Add beforeNuxtRender hook 2017-07-27 16:26:59 +02:00
Sébastien Chopin a870896c67 Merge branch 'dev' of github.com:Atinux/nuxt.js into dev
Conflicts:
	lib/app/client.js
	lib/app/server.js
2017-07-10 09:02:35 +02:00
Pooya Parsa 518692b2f4 chore: minor fixes 2017-07-10 04:27:50 +04:30
Pooya Parsa f635b73a0b chore: minor improvements for server.js 2017-07-10 02:11:44 +04:30
Sébastien Chopin 2cc78c0446 Remove dynamic components 2017-07-09 23:06:17 +02:00
Sébastien Chopin f07d9855b6 Polish app/server.js 2017-07-09 16:50:55 +02:00
Pooya Parsa db2a5ef75a update server.js 2017-07-09 17:07:54 +04:30
Pooya Parsa 4bf0a46cb0 chore: polish app/server.js 2017-07-09 17:07:54 +04:30
Sebastien Chopin e5906e5ac4 Avoid loop redirect on server-side 2017-07-07 15:44:04 +02:00
Pooya Parsa 9226f606b5 fix(dynamic components): temporary fix for vue-loader 13.0.0 2017-07-07 02:43:35 +04:30
Pooya Parsa aaf924f49d fix(asyncData): keep results in ssrContext 2017-07-07 02:03:11 +04:30
Sébastien Chopin e4e9149b54 feat: Add dynamic component injection + example 2017-07-02 20:47:01 +02:00
Pooya Parsa 766009dbba Cleaner structure 2017-06-18 12:06:00 +04:30
Pooya Parsa 829ffa634b refactor structure 2017-06-16 17:12:45 +04:30
Sebastien Chopin 5e5b58c461 Add redirect in plugins context 2017-06-06 14:51:49 +02:00
Sebastien Chopin 3a2b732965 Merge branch 'dev' of github.com:nuxt/nuxt.js into dev 2017-06-05 11:24:09 +02:00
Sebastien Chopin 703b5071d6 fix: redirect works with full path 2017-06-05 11:24:06 +02:00
Sébastien Chopin ce69c3be0f Fix: error on template for layout when redirected 2017-06-04 19:59:36 +02:00
Clark Du e4e0711de2 Fix class component typeerror when using nuxt1.0.0-alpha 2017-05-23 17:04:44 +08: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
Sébastien Chopin 1f317a188b Should work with route not code-splitted 2017-05-21 19:16:36 +02:00
Pooya Parsa 32ac90482e Merge remote-tracking branch 'remotes/origin/fix-middleware' into dev
# Conflicts:
#	lib/app/server.js
#	lib/app/utils.js
#	lib/generate.js
#	yarn.lock
2017-05-15 15:33:52 +04:30
Pooya Parsa 59ece4978e fix plugins injectAs 2017-05-15 02:26:00 +04:30
Sébastien Chopin 888811f5f4 Fix middleware on server-side 2017-05-08 19:30:57 +02:00
Evan You 74652e3974 make use of runInNewContext: false 2017-05-02 13:33:09 +04:30
Sebastien Chopin e2ad6517e2 Give this to data() 2017-04-14 16:31:14 +02:00
Sebastien Chopin 55db6e336f Add injectAs feature 2017-04-14 11:57:08 +02:00
Sébastien Chopin 5412ddc8d1 Merge pull request #456 from taldy/nuxtserverinit-promises-improvement
Support other implementations of Promises inside nuxtServerInit (currently only HTML5 Promises works correctly)
2017-04-06 12:33:29 +02:00
taldy c22b0b790b Simplify fix and cover other Promise checks 2017-04-06 12:09:56 +03:00
Ilya 6c0f138b7d fix server validate 2017-04-05 22:33:11 +03:00
Sébastien Chopin 4c012e93af Update server.js 2017-04-05 18:25:35 +02:00
Sébastien Chopin 9c4244635c Update server.js 2017-04-05 18:24:48 +02:00
Ilya 99400bb12d server proposal for validation 2017-04-05 19:14:45 +03:00