Commit Graph

97 Commits

Author SHA1 Message Date
Pooya Parsa
b4847b7656 Handle when transition fn not returning anything
fix for #1406
2017-08-18 00:30:49 +04:30
Pooya Parsa
4d74840177 disable clientside sourceMapSupport 2017-08-10 15:18:53 +04:30
Pooya Parsa
71ebf02c6b disable browser-source-map-support 2017-08-10 14:46:13 +04:30
Pooya Parsa
400363860a feat(app): enable global vue error handler only in dev
With production builds, some Vue warns are being changed to errors this may lead to unwanted error pages.
2017-08-10 14:12:06 +04:30
Pooya Parsa
b78b189aea spa errors source map support 2017-08-06 02:03:46 +04:30
Pooya Parsa
e70d0ba7d0 add title for spa error handler 2017-08-05 16:40:47 +04:30
Pooya Parsa
a0cb08e451 spa global error handler
prevents white screens on critical vue errors and shows nuxt error page
2017-08-05 16:23:19 +04:30
Sebastien Chopin
28d0e72641 Fix context.app in client-side 2017-07-28 10:21:58 +02:00
Sebastien Chopin
6c6e6e55aa Fix layout not declared 2017-07-27 16:26:36 +02:00
Sébastien Chopin
03aa65a888 context: Add on client-side 2017-07-20 21:04:23 +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
ddc6369e05 chore: polish client.js 2017-07-10 02:11:04 +04:30
Sébastien Chopin
2cc78c0446 Remove dynamic components 2017-07-09 23:06:17 +02:00
Pooya Parsa
9226f606b5 fix(dynamic components): temporary fix for vue-loader 13.0.0 2017-07-07 02:43:35 +04:30
Sébastien Chopin
e4e9149b54 feat: Add dynamic component injection + example 2017-07-02 20:47:01 +02:00
Sébastien Chopin
664ce12662 Fix: transition property beeing a function 2017-06-19 23:30:05 +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
Pooya Parsa
e753f93f97 better mapTransitions
prevents some unhandled cases
2017-06-13 00:06:05 +04:30
Pooya Parsa
d3f66e132e chore(client): simplify resolveTransitions()
#566
2017-06-12 21:34:45 +04:30
Pooya Parsa
5c36ed7b73 fix(client): combine & prefer leave* transitions of from route
#566
2017-06-12 21:34:45 +04:30
Sebastien Chopin
f089bcfff6 Add hotReload in context 2017-05-31 13:21:24 +02:00
Sebastien Chopin
488010bf78 Upgrade dependencies and JSDOM API 2017-05-30 16:08:51 +02:00
Pooya Parsa
a58b85a238 refactor client.js createApp using async/await 2017-05-26 16:11:18 +04:30
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
Sebastien Chopin
64abcc04a8 Fix middleware on client-side 2017-05-09 14:43:47 +02:00
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
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
Sébastien Chopin
3e7d0a19ed Update client.js 2017-04-05 21:25:44 +02:00
Ilya
17db23f45f fix in client : validate method 2017-04-05 21:40:46 +03:00
Sébastien Chopin
99a03812a4 Update client.js 2017-04-05 18:25:12 +02:00
Sébastien Chopin
7ef6411269 Update client.js 2017-04-05 18:24:15 +02:00
Ilya
42e16a650b proposal for validation pages 2017-04-04 14:25:48 +03:00
Sébastien Chopin
3b635323a4 Add layout in __NUXT__ 2017-03-25 18:59:58 +01:00
evseevnn
435337529a fix - store no available to context on client side 2017-03-25 12:30:23 +07:00
evseevnn
8ec4eb908f fix - store no available to context on client side 2017-03-25 12:23:42 +07:00
Sébastien Chopin
8831331e3d Fix hot reloading 2017-03-24 16:52:18 +01:00
Sébastien Chopin
4034801fc9 Replace store state the soonest possible 2017-03-24 01:35:57 +01:00
Sébastien Chopin
474f68e46e Call store.replaceState on start 2017-03-24 01:28:38 +01:00
Sébastien Chopin
b6856928db Dynamic layout feature 2017-03-17 18:02:58 +01:00
Sébastien Chopin
fb7b856343 force calling middleware from error page 2017-03-16 21:00:22 +01:00
Sébastien Chopin
65eeff332e Fix hotReloading for children 2017-03-16 18:52:06 +01:00
Sébastien Chopin
b8727b8d51 Fix asyncData on hot reloading 2017-03-02 17:31:37 +01:00