Commit Graph

154 Commits

Author SHA1 Message Date
Sebastien Chopin
9a28b8be25 Fix tests 2017-09-07 14:17:53 +02:00
Sebastien Chopin
74bc12da51 fix: Handle synchronous route component 2017-09-07 13:40:10 +02:00
Pooya Parsa
0d4bbf0b03 allow customize all messages for i18n 2017-09-01 21:00:49 +04:30
Clark Du
5616f1acba match correct route when resolveComponents in hash mode 2017-08-30 18:13:01 +08:00
Sebastien Chopin
4ac14054f2 context: hotReload -> isHMR 2017-08-23 13:41:37 +02:00
Sebastien Chopin
fed644ddf6 Fix #1423 2017-08-21 13:54:41 +02:00
Pooya Parsa
690cfe2114 improve spa errors 2017-08-20 17:43:42 +04:30
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
Sébastien Chopin
40d52645e8 asyncData 2017-02-28 13:11:29 +01:00
Sébastien Chopin
9a2767ac90 Layout on afterEach 2017-02-20 22:11:34 +00:00
Sébastien Chopin
61ac979cba Fix regression on query changes 2017-02-06 13:24:59 +01:00
Sébastien Chopin
17650c25e0 Middleware feature 🔥 2017-02-03 15:09:38 +01:00
Sébastien Chopin
f33afa521f Fix progress bar on different layouts (#113) 2017-01-30 11:20:20 +01:00
Sébastien Chopin
55003631fc Fix calling data on hash changes 2017-01-29 07:54:25 +01:00
Sébastien Chopin
423f52f35d Fix error component on dynamic route. 2017-01-27 23:10:02 +01:00
Sébastien Chopin
55f907877e Normalize components 2017-01-20 18:32:43 +01:00
Sébastien Chopin
224a18dea8 Improve error handling in page components 2017-01-20 18:11:30 +01:00
Sébastien Chopin
ac9412b908 Don't use polyfill anymore 2017-01-11 22:18:47 +01:00
Sébastien Chopin
0b58637a09 Add polyfill in client & index 2016-12-31 12:33:51 +01:00
Sébastien Chopin
99bfac25aa Move polyfill to root 2016-12-31 12:11:37 +01:00
Sébastien Chopin
0e1f0af3b9 Fix hot-reload on data 2016-12-27 17:02:03 +01:00
Sébastien Chopin
3f220625b9 Fix hot reloading for layout 2016-12-24 14:15:00 +01:00
Sébastien Chopin
3a0fcdee73 Layout with code-splitting! 2016-12-24 12:34:41 +01:00
Sébastien Chopin
b870a7206e Add layout feature 2016-12-24 01:55:32 +01:00
Sébastien Chopin
f335c8bd03 Fix validate in children 2016-12-20 18:05:48 +01:00
Sébastien Chopin
42dc15e72e Check for component options data 2016-12-20 18:05:48 +01:00
Sébastien Chopin
0fe34e0fb0 Fix re-usable component data 2016-12-20 13:44:22 +01:00
Sébastien Chopin
66124e5bce Dont use _routerViewCache anymore 2016-12-20 12:55:25 +01:00
Sébastien Chopin
8eb6b5e3b6 remove console.log 2016-12-19 20:17:52 +01:00
Sébastien Chopin
a31dc539cc Call only the children data for better perf 2016-12-16 17:46:09 +01:00
Sébastien Chopin
7f3a39fea1 Fix child components data 2016-12-12 21:55:43 +01:00
Sébastien Chopin
f8c7b5c012 Add validate option 2016-12-12 16:30:07 +01:00
Sébastien Chopin
09e637cf4b generate dist lib 2016-12-09 18:54:17 +01:00
cj
c4823f27a8 added no-console to eslint 2016-12-08 09:41:20 -06:00
Sébastien Chopin
48c544b106 Add window.onNuxtReady before plugins 2016-12-07 23:58:32 +01:00
Sébastien Chopin
83cd431c52 Add $nuxt.on('routeChanged', to, from) 2016-12-07 23:43:57 +01:00
Sébastien Chopin
cb3bf4c320 window.onNuxtReady is now a function 2016-11-25 15:36:27 +01:00
Sébastien Chopin
b2b707ae71 Call store.replaceState when app is created 2016-11-24 13:16:30 +01:00
Sébastien Chopin
fc598ea66e Fix reused component data 2016-11-23 00:27:07 +01:00
Sébastien Chopin
2400fabceb Add transition option and package.json next config 2016-11-21 19:53:11 +01:00
Sébastien Chopin
edd0227e74 Add pages/_app.vue possibility + example 2016-11-21 14:15:08 +01:00
Sébastien Chopin
ae9b41f321 Add callback argument (optional) in data 2016-11-19 22:16:26 +01:00
Sébastien Chopin
e48f8250a0 Mixins and Vue.extend possible 2016-11-18 14:45:25 +01:00
Sébastien Chopin
2677afb46f Fix due 2.0.6~7 and add error() in context 2016-11-17 11:57:12 +01:00
Sébastien Chopin
b1546682ef Add aliases and update examples 2016-11-16 17:55:26 +01:00
Sébastien Chopin
c5c9448a26 remove 2 dependencies 2016-11-11 15:30:11 +01:00
Sébastien Chopin
78aabe480f modern static for redirect is great now 2016-11-11 01:11:21 +01:00
Sébastien Chopin
5b0ff5617b Add redirect in context 2016-11-11 00:01:36 +01:00
Sébastien Chopin
c97c4ec32e watch pages/ dir to updates routes dynamically 2016-11-10 03:38:11 +01:00
Sébastien Chopin
18a2b57655 Add nuxt-build and nuxt-start, build:false and dev option 2016-11-09 23:59:41 +01:00
Sébastien Chopin
a5780a09ca move to nuxt org, rename loading to nuxt-loading 2016-11-09 15:55:02 +01:00