Commit Graph

52 Commits

Author SHA1 Message Date
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
Sébastien Chopin 2f2eaac299 Add debug for redirect on ssr 2017-03-26 23:38:51 +02:00
taldy 93c4be2d28 Support other types of Promises returned by nuxtServerInit() 2017-03-26 17:54:27 +03:00
Sébastien Chopin 3b635323a4 Add layout in __NUXT__ 2017-03-25 18:59:58 +01:00
Sébastien Chopin 52d1df7a24 Fix updated route in context + error handling 2017-03-24 15:49:24 +01:00
Sébastien Chopin 26083a9de0 Avoid using req.url 2017-03-24 13:52:15 +01:00
Sébastien Chopin cfd6b197c4 Improve error handling on SSR 2017-03-24 01:28:19 +01:00
Sébastien Chopin 64f83b71c3 Vue 2.2 and styles included 2017-03-22 15:47:34 +01:00
Sébastien Chopin b6856928db Dynamic layout feature 2017-03-17 18:02:58 +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 66c5aad09d Fix redirected 2017-02-22 18:19:17 +00:00
Sébastien Chopin 9a2767ac90 Layout on afterEach 2017-02-20 22:11:34 +00:00
Sébastien Chopin ae8700f117 Add comment 2017-02-07 10:46:05 +01:00
Sébastien Chopin 17650c25e0 Middleware feature 🔥 2017-02-03 15:09:38 +01:00
Sébastien Chopin 224a18dea8 Improve error handling in page components 2017-01-20 18:11:30 +01:00
Sébastien Chopin 75a81430a4 Remove fix for vue-router 2017-01-20 12:42:15 +01:00
Sébastien Chopin 0d7e0ca8a8 Improve error page when throwing exception 2017-01-19 16:39:36 +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 8102ce48eb Handle validate for nuxt generate 2016-12-21 15:03:23 +01:00
Sébastien Chopin f335c8bd03 Fix validate in children 2016-12-20 18:05:48 +01:00
Sébastien Chopin b8ec7329f7 Set color for debug module 2016-12-15 18:48:31 +01:00
Sébastien Chopin f8c7b5c012 Add validate option 2016-12-12 16:30:07 +01:00
Sébastien Chopin a30ce76b0c Fix // when no base given 2016-12-04 19:16:47 +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
Pascal Borreli e4b202e7d9 Fixed typos 2016-11-18 04:02:43 +01:00
Sébastien Chopin 49f67566c2 Add build.plugins and fix when no component matched 2016-11-17 22:12:21 +01:00
Sébastien Chopin 06edc8029b Use omit and add example 2016-11-17 14:02:09 +01:00
Sébastien Chopin c9250b4d07 Add nuxtServerInit action in the store 2016-11-17 13:52:00 +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 4b0b83b782 Update the use of redirect(status, path, query) 2016-11-11 01:35:05 +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 ea1c5dee15 config.router + base + linkClassActive 2016-11-10 17:16:37 +01:00
Sébastien Chopin c97c4ec32e watch pages/ dir to updates routes dynamically 2016-11-10 03:38:11 +01:00