Commit Graph

151 Commits

Author SHA1 Message Date
Pooya Parsa 0f27f80c0c
fix(vue-app): avoid multiple `$fetch` calls (#7129)
Co-authored-by: Aster <duda84@gmail.com>
2020-03-25 19:40:39 +01:00
Sébastien Chopin b82f8d1640
fix: set default name to layout to avoid multi mounted (#7128) 2020-03-25 19:14:17 +01:00
Pooya Parsa c8e7397d07
fix(vue-app): use `globals.nuxt` for fetch client mixin (#7103) 2020-03-18 11:30:50 +01:00
Jason Poindexter 1f5d489850
fix(vue-app): middleware not executing on double browser back navigation (#6775)
fixes #6716.
2020-03-13 22:26:35 +01:00
Xin Du (Clark) a7052b637b
feat(vue-app): trigger watchParam when param is changed in same route (#6244) 2020-03-13 21:28:42 +01:00
pooya parsa f1e2362456 chore: remove new fetch warning 2020-03-12 15:40:03 +01:00
Jonas Galvez a3fdba885e
chore(vue-app): improve missing inject value error message (#7032) 2020-02-29 20:16:43 +01:00
Sébastien Chopin b71eaee879 chore: use data-fetch-key instead of data-ssr-key 2020-02-12 16:41:23 +01:00
Matteo Rigon 539c865533
fix(vue-app): use child transition name when navigating to parent (#6946) 2020-02-11 15:06:37 +01:00
Sébastien Chopin 6db325c321
feat(vue-app): new fetch syntax (#6880) 2020-02-04 19:36:22 +01:00
wppd e271aa0a0a
chore(vue-app): pass error as param to nuxt-loading fail method (#6939) 2020-02-03 16:41:37 +01:00
Vladlen e91a441f2c fix(vue-app): add fallback context for error (#6854)
Co-Authored-By: Sébastien Chopin <seb@nuxtjs.com>
2020-01-16 18:09:16 +01:00
Sébastien Chopin c9beac3c7b fix(vue-app): resolve leave transition on child routes (#6803) 2020-01-10 21:45:13 +01:00
Sébastien Chopin 0cb2df73a0 fix(vue-app): move head to index to avoid global state (#6807) 2019-12-18 15:27:30 +01:00
Xin Du (Clark) e8aca9eb11 chore: update @nuxtjs/eslint-config to v2 and fix lint errors (#6732) 2019-11-26 23:42:39 +01:00
Xin Du (Clark) d83761028e feat(vue-app): upgrade `vue-router` to 3.1.x (#6722) 2019-11-26 23:41:19 +01:00
Rafał Chłodnicki e9945b0896 fix(vue-app): pass router mode to `getLocation` (#6658) 2019-11-24 14:26:33 +01:00
Mohammad M. Shahbazi 6cc962fa16 fix: context.route issue in plugins and splitChunks.pages === false (#6685) 2019-11-19 09:27:54 +00:00
Pim 701f2d033b fix(vue-app): apply path-to-regexp options to tokensToFunction… (#6683) 2019-11-12 16:39:34 +00:00
Xin Du (Clark) afb38fe492
fix(vue-app): layout in error.vue not work for Vue.extend component (#6650) 2019-11-05 17:53:39 +00:00
Sébastien Chopin 9f921fe136 fix(vue-app): add `prefetched` class to `<nuxt-link>` after chunk loaded (#6623) 2019-10-28 15:32:24 +01:00
Pim b031fac121 fix: collapsed ssr log (#6590) 2019-10-18 10:36:49 +01:00
Xin Du (Clark) 0834903152 fix(vue-app, webpack): remove consola from client (#6504) 2019-10-08 11:06:29 +02:00
Xin Du (Clark) 578d5d41f4 fix(vue-app): error page layout not correctly applied in client rendering (#6479) 2019-09-30 10:44:35 +02:00
Pim ffc005c014 fix(vue-app): pass vm also as arg to support arrow fns (#6473) 2019-09-29 10:06:26 +02:00
Louis-Marie Michelin 7b3155347c feat(vue-app): add `prefetch` prop to `<nuxt-link>` (#6292) 2019-09-18 17:06:46 +02:00
Pim b17f331fe5 feat: support setting (non-essential) vue-meta options by user (#6432) 2019-09-18 15:51:44 +02:00
Pim ec6ef6e425 fix(vue-app): fix asyncData hydration when features.transition: false (#6433) 2019-09-18 15:51:22 +02:00
Pim 3b9eddc223 fix(vue-app): clear idle callback (#6430) 2019-09-18 10:54:17 +02:00
Pim 8f0f16b076 chore: lint vue-app templates (#6390) 2019-09-10 11:51:14 +02:00
Pim 174c13d56c feat(vue-app): support configurable features (#6287) 2019-09-05 17:15:27 +02:00
Pim e78e8b4b7d feat(builder): support adding custom middlewares (#6342) 2019-09-02 12:53:52 +02:00
Pim 93a0924754 fix(vue-app): prevent looping on error during render of error page (#6217) 2019-09-01 16:58:56 +02:00
Xin Du (Clark) e9c4bcfee2
feat(vue-app): function watchQuery (#6297) 2019-08-31 19:23:11 +01:00
Xin Du (Clark) d85d2fb612
Revert "feat: function watchQuery (#6245)" (#6296)
This reverts commit 3c61830a0d.
2019-08-25 10:53:23 +01:00
Xin Du (Clark) 3c61830a0d
feat: function watchQuery (#6245) 2019-08-25 10:12:59 +01:00
Pim 662a409056 fix(vue-app): only overwrite leave listener when none provided or without done arg (#6264) 2019-08-21 16:06:52 +04:30
Sébastien Chopin fda1b1b54b fix(vue-app): enforce default css when used with frameworks (#6255) 2019-08-20 20:45:36 +04:30
Xin Du (Clark) c6a9b37821 feat(vue-app): support functional `watchQuery` (#6222) 2019-08-19 00:05:16 +04:30
Ricardo Gobbo de Souza 2ad6bf2a08 feat(vue-app): export router options (#6231) 2019-08-15 00:08:25 +04:30
Sébastien Chopin 09878cd6dc
feat(vue-app): add $nuxt.refresh() (#6194)
* feat(vue-app): add $nuxt.refreshPageData()

* hotifx: lint

* chore: use getMatchedComponentsInstance util

* fix: rename to refreshPage

* fix: rename to refresh

* feat: add $nuxt.$context and handle error

* feat: set $nuxt.context

* hotfix: test
2019-08-07 15:12:02 +02:00
Sébastien Chopin 9cc3e34673 feat(vue-app): use EventSource instead of WebSocket for build indicator (#6186) 2019-08-05 20:15:33 +04:30
Sébastien Chopin f7cb3dae0f feat(vue-app): support `app/router.scrollBehavior.js` and deprecate `scrollBehavior` (#6055) 2019-07-24 16:05:50 +04:30
Farzad Soltani 9909bdb534 chore: fix typo (#6065) 2019-07-13 23:27:07 +04:30
bluelovers 9524bcae5e feat(vue-app): add <client-only> alias for <no-ssr> (#5941) 2019-07-04 16:47:45 +01:00
Pim ac723e6ca6 fix(vue-app): emit `triggerScroll` to support hash navigation (#6012) 2019-07-03 13:34:51 +04:30
Sébastien Chopin 329f0f5f36 fix(vue-app): fix font-size and make width bigger (#5920) 2019-06-14 22:05:21 +04:30
Pim 2a2bf9b93d fix(vue-app): always finish `transition.leave` asynchronously (#5891) 2019-06-14 21:58:03 +04:30
Rafał Chłodnicki 0e2965319d fix(vue-app): fix position of the build indicator when page scrolled (#5890) 2019-06-07 01:54:33 +04:30
Pooya Parsa cb1b980d8a
feat(vue-app): allow customizing loading indicator (#5844) 2019-06-06 12:39:28 +04:30