Commit Graph

255 Commits

Author SHA1 Message Date
Rafał Chłodnicki 6fa5fc2fa0
fix(vue-app): handle promise rejection from `asyncData` (#18585) 2023-02-21 02:04:19 -08:00
Arik 0088d13c29
fix(vue-app): clear hide timeout when calling `clear()` (#10086) 2023-01-19 18:51:41 +00:00
Michiel Doesburg 123206cb80
fix(vue-app): preview mode fetch (#10489) 2022-06-24 01:08:54 +02:00
pooya parsa e5efc25940
chore: update dependencies (#10510)
[release]
2022-06-24 00:58:52 +02:00
Matteo Rigon 777a4b7f50
fix(vue-app): call ssrContext.unsetMutationObserver only if it exists (#10132)
[release]
2021-12-17 14:20:07 +01:00
Daniel Roe 3c10f176e6
fix(vue-app): use correct `$config` for finding basePath (#9706) 2021-08-24 10:54:24 +02:00
Loick Le Digabel a418371e27
feat(vue-app): pass `store` to `createRouter` (#9629)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2021-08-11 22:30:18 +02:00
Payel Karmakar 20e7b99eb6
fix(vue-app): `null` check for `$root` access (#9150)
Co-authored-by: Payel <payelk@ngdata.com>
2021-08-11 16:32:35 +02:00
SlayerOfTheBad 457984a567
fix(vue-app): serialize route meta to allow functions (#9634)
Co-authored-by: Jacob <jacob@adivare.nl>
2021-08-11 14:33:02 +02:00
Xin Du (Clark) a3b2fd86ad
fix(vue-app): re-register components construtor in HMR (#9539)
* fix(vue-app): re-register components construtor in HMR

* simpilify checking
2021-07-12 12:21:04 +02:00
Mohammad Saleh Fadaei 0742f59e24
fix(vue-app): redirect to external url replaces current history entry (#9500) 2021-06-30 19:35:22 +02:00
Daniel Roe eb6bd9febc
fix(vue-app): don't normalise route path if it's valid (#9460)
[release]
2021-06-28 16:29:43 +02:00
Daniel Roe 35c6ac411d
fix(vue-app): check whether route exists within nuxt app before replacing (#9431)
[release]
2021-06-14 15:54:36 +02:00
David Ovčačík 9f02e5dae7
feat(vue-app): `context.beforeSerialize` method (#9332)
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
Co-authored-by: pooya parsa <pyapar@gmail.com>
2021-06-04 16:21:16 +02:00
Daniel Roe 00aeff62e7
fix(vue-app): respect `scroll-margin-top` when navigating with hash (#9187) 2021-05-15 12:15:31 +01:00
Thomas Beduneau 330e5c99bc
fix(vue-app): use route.replace instead of router.push to trigger navigation guards (#9201) 2021-05-03 10:51:18 +02:00
Thomas Beduneau 04d33829f9
fix(vue-app): use `app.context.route` for resolving components (#9050) 2021-04-01 12:00:51 +02:00
vcordes79 c04a793b4a
fix(vue-app): fallback to global nuxt instance of `$root` is not available (#9008) 2021-03-31 19:52:32 +02:00
Daniel Roe ca020cf9cb
refactor: move internal app runtime config to `_app` namespace (#9075) 2021-03-30 18:38:51 +02:00
rinu 3fb9194416
fix(vue-app): reload page once after loading chunk error (#8978) 2021-03-28 20:25:05 +02:00
Daniel Roe 2c4cc04b49
fix(vue-app): re-call `$fetch` if data is missing in payload (#9026) 2021-03-23 19:04:54 +01:00
Daniel Roe bc3b21a9bb
fix(vue-app): handle redirect functions in routes (#9024)
closes #8979
2021-03-22 11:29:27 +01:00
Thomas Beduneau e8ea37673f
fix(vue-app): use `app.context.route` to match components in server 2021-03-22 11:24:34 +01:00
ChangJoo Park(박창주) 0921ceeb2e
chore(lint): add indent result of createApp (#8982) 2021-03-16 21:41:57 +00:00
pooya parsa 1b9a9d6449
fix(renderer): deep merge runtimeConfig for server (#8856) 2021-02-19 17:33:00 +01:00
Daniel Roe e277bb284b
fix(vue-app): align client fetch key with server (#8809) 2021-02-12 12:55:27 +01:00
Daniel Roe 9d33456e69
fix(vue-app): add leading slash for payload hydration (#8802) 2021-02-10 13:18:27 +01:00
Daniel Roe 119091c8d1
refactor(utils, vue-app): use `ufo` to parse queries and join urls (#8765) 2021-02-09 17:01:37 +01:00
Daniel Roe c8a4b91ad4
fix: ignore trailing slash in static payloads manifest (#8794) 2021-02-09 16:58:49 +01:00
Daniel Roe 1196c17a2a
fix(vue-app): enable dynamic publicPath on server-side (#8759) 2021-02-04 21:56:18 +01:00
Daniel Roe 07dd2cce9b
fix(server, vue-app): address encoding issues with query params (#8748)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-02-04 18:52:13 +00:00
Daniel Roe 6a8339e4c4
fix: encoding issues with payload paths (#8738)
- fix(generator): decode full static filesystem paths
- fix(vue-app): check decoded path against manifest
- fix(vue-app): prevent double encoding for urls

Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-02-02 13:38:54 +01:00
pooya parsa febd7ee43c
fix(vue-app): static payload fetching bugfixes (#8701) 2021-01-27 11:26:34 +01:00
Xin Du (Clark) dc551f9709
fix(dev): clearnup vue installed plugins from server in dev mode (#8697) 2021-01-27 11:26:08 +01:00
Xin Du (Clark) 2b3eefc3a1
refactor(vue-app): simplify scrollToTop checking (#8621) 2021-01-12 09:47:29 +00:00
Daniel Roe 3265e94979
fix(vue-app): check for Page.options before looking within (#8612)
closes #8234
2021-01-11 17:04:33 +00:00
Daniel Roe 71a3df8443
fix(vue-app): don't remove req/res/query unless in full static mode (#8611)
closes #7965
2021-01-11 11:11:00 +01:00
Daniel Roe 3bba4c6a7f
fix(vue-app): check that `link.__prefetch` exists before calling it (#8608)
closes #8173
2021-01-08 19:23:55 +01:00
Ahad Birang 746b14319a
fix(vue-app): add id attribute to `noopApp` (#8596) 2021-01-05 14:14:39 +01:00
Beorn Facchini ac762299a1
fix(vue-app): scroll to top on route changes only (#8557) 2020-12-26 20:19:33 +01:00
Pooya Parsa 7529d65d75 chore: migrate from @nuxt/ufo to ufo 2020-12-22 18:20:41 +01:00
Daniel Roe 9681a8937d
feat(config, vue-app, vue-renderer): support dynamic `base` and `publicPath` (#8520)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2020-12-22 18:15:59 +01:00
Daniel Roe 8c8793073f
fix(vue-app): set `push` on router instance rather than prototype (#8523)
resolves #7479
resolves #8522
2020-12-20 12:21:20 +01:00
Daniel Roe fb191d2fbd
fix(vue-app, vue-renderer, utils): respect `trailingSlash` setting for payloads (#8489)
* fix(utils): don't inject a trailing slash on catchall routes (e.g. `/*/`)

closes #8488

* fix(vue-app, vue-renderer): respect `trailingSlash` setting for payloads

* refactor: use new ufo `parsePath` utility

Co-authored-by: pooya parsa <pyapar@gmail.com>
2020-12-17 12:51:14 +01:00
Daniel Roe 92018e586b
feat(vue-app): support custom `fetchKey` for full static generation (#8466)
[release]
2020-12-17 12:49:59 +01:00
Pooya Parsa a78427c165 v2.14.12 [hotfix] [release] 2020-12-16 14:21:30 +01:00
pooya parsa a25bdd622d
fix: fix issues with url handling (#8494) 2020-12-16 14:12:16 +01:00
Daniel Roe 1269773d9d
fix(vue-app): do not preserve state when registering client-side dynamic module (#8486) 2020-12-14 10:52:02 +01:00
pooya parsa fc51ca3330
fix: normalize routes and decode resolved query (#8430) 2020-12-06 18:32:39 +01:00
pooya parsa 49c293b25f
fix: only encode non dynamic path params (#8421) 2020-12-01 16:01:25 +01:00