Commit Graph

97 Commits

Author SHA1 Message Date
Alexander Lichter
76b10d2d3f refactor: use more functional programming (#3612) 2018-10-13 02:01:19 +03:30
Jonas Galvez
a3dd7dad6b feat: configurable global name (#4012)
Co-authored-by: JuliaNeumann <jn.julianeumann@gmail.com>
2018-10-09 15:38:33 +03:30
Pooya Parsa
87d303845f chore: remove extra validationError
as @clarkdo mentioned
2018-08-25 21:56:42 +04:30
Jonas Galvez
608b913b8a feat: async validate() (#3797) 2018-08-25 14:12:00 +04:30
Sébastien Chopin
bba9e2bae0 fix: Show error page if error on layout 2018-08-21 16:50:31 +02:00
Jonas Galvez
3f1d634fb7 Consistent parens in arrow functions (#3630)
* Minor consistency enhancements

* Arrow parenthesis consistency

* Change linting rule

* Fix typo

* Update .eslintrc.js to only require parens for blocks

* Update style according to brace-only suggestion

* Remove --fix from lint

* Tweak no-loading time (failing test)

* Tweak no-loading time (failing test) (2)

* Tweak no-loading time (failing test) (3)

* Tweak no-loading time (failing test) (4)

* Tweak no-loading time (failing test) (5)
2018-08-06 02:12:44 +02:00
Clark Du
22a53464a7
fix: allow quotes in messages (#3525) 2018-07-12 21:45:14 +01:00
Pooya Parsa
fb978b812a pef(server.js): only include lodash/omit 2018-04-13 03:44:25 +04:30
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