Commit Graph

210 Commits

Author SHA1 Message Date
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
Pooya Parsa a8cc430574 chore: remove extra import 2020-11-30 23:25:44 +01:00
pooya parsa cc1f6d94b5
fix: handle route encoding (#8325)
Co-authored-by: farnabaz <farnabaz@users.noreply.github.com>
2020-11-30 23:10:02 +01:00
Sébastien Chopin 691f21c683
fix(vue-app): handle missing payloads on full static (#8314)
* fix(vue-app): handle missing payloads on full static

Fixes #7717

* chore: rename routesManifest to manifest

* chore: remove console.log

* chore(vue-app): don't have staticAssetsBase if undefined

* chore: add manifest option

* test: update snapshot

* chore: use foundRoute to avoid multiple vars name

Co-authored-by: Pooya Parsa <pyapar@gmail.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2020-11-25 15:19:29 +01:00
Daniel Roe 7278b10112
fix(vue-app): warn if promises and functions are in fetch state (#8348) 2020-11-16 09:43:20 +01:00
Daniel Roe b050861332
fix(generator): respect publicPath for static assets (#8344)
* fix: respect publicPath for static assets

* test: add test for correct `publicPath` URL handling
2020-11-14 23:10:16 +01:00
Pim 2c6610cfb8
fix(vue-app): triggerScroll when transitions is disabled (#8225) 2020-11-06 09:38:08 +01:00
Daniel Roe 442b6c07c9
fix(vue-app): use nuxt globalName correctly in nuxt-link and fetch mixin (#8289) 2020-11-04 13:35:29 +00:00
Daniel Roe e14b7201b4
fix(vue-app): prevent redirection loop with uri encoded path (#8280) 2020-11-04 13:35:12 +00:00
Daniel Roe 9c4dac3c61
fix(vue-app): use getter to provide `this.$nuxt` (#8170) 2020-10-13 12:19:08 +02:00
Clark Du 61e93d01f9 Revert "fix(vue-app): use mixin to provide `this.$nuxt` (#8068)"
This reverts commit 8abdc177be.
2020-09-30 12:08:57 +01:00
Daniel Roe 8abdc177be
fix(vue-app): use mixin to provide `this.$nuxt` (#8068)
Co-authored-by: Clark Du <clark.duxin@gmail.com>
2020-09-30 11:16:16 +01:00
Dmitriy 79440f3ce5
fix(vue-app): scrollRestoration hasn't set (#8055) 2020-09-30 10:57:36 +01:00
Daniel Roe 89a64161d0
fix(vue-app): always import error layout (#8067) 2020-09-15 18:33:26 +02:00
Dmitriy 45b7838710
fix(vue-app): empty `$fetch` function for SSR with static target (#8053) 2020-09-10 21:16:00 +02:00
Dmitriy 757d5d46da
fix(vue-app): missing layout in error page with `splittedChunks.layout` (#8016) 2020-09-09 12:32:10 +02:00
Florent Catiau-Tristant 51b037fea6
fix(vue-app): var names shadowing in chrome debugger (#7939)
* fix: var names shadowing in debug

* fix: new appropriate variable name

Co-authored-by: florent.catiau <florent.catiau@veepee.com>
2020-08-25 21:31:36 +02:00
Jonas Galvez fe0498cecd
fix(vue-app): prevent router.registerModule reallocation (#7915) (#7916) 2020-08-15 22:29:17 +02:00
Ahad Birang 10e82b24da
fix(vue-app): use anchor to `/` if route is undefined in error page (#7877) 2020-08-14 23:58:17 +02:00
pooya parsa 9f4d420b1f
fix(vue-app): fix regression with `scrollToTop` (#7920) 2020-08-14 23:42:04 +02:00
Ahad Birang e03563b3dc
fix(router): resolve redirect errors (#7912) 2020-08-14 00:31:00 +02:00
Matthieu Sieben 128c9743c4
fix(vue-app): handle server-side routing errors (#7801) 2020-08-04 11:29:23 +02:00
Yaroslav Vorobev 66b4aa2f62
fix(vue-app): `nuxt-link` prefetch error on fallback page (#7766) 2020-07-27 15:44:10 +02:00
Sébastien Chopin 6ab65fbf4f
fix(vue-app): handle fallback on generated page (#7718)
* fix(vue-app): handle fallback on generated page

* chore: improvements and small refactor

* fix: lint

Co-authored-by: pooya parsa <pyapar@gmail.com>

* chore: add force-build option to nuxt generate

Co-authored-by: pooya parsa <pyapar@gmail.com>

[release]
2020-07-16 19:32:09 +02:00
pooya parsa c5a4465572
feat: static target DX improvements (#7712)
[release]

Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
Co-authored-by: pimlie <pimlie@hotmail.com>
2020-07-16 17:10:54 +02:00
Sébastien Chopin f81c588bf6
fix(vue-app): don't fetch payload for store mutation for preview and spa fallback (#7723) 2020-07-16 17:10:06 +02:00
Denis Karabaza d4363d4477
fix(vue-app): check plugin key on `Vue.prototype` instead of `Vue` (#7656) 2020-07-02 18:43:32 +02:00
Sébastien Chopin 191f66a19b
fix(vue-app): handle layout on client error (#7654)
[release]
2020-07-02 18:22:12 +02:00
Sébastien Chopin 2f07f66fb8
fix(vue-app): don't fetch payload on first spa fallback render (#7657) 2020-07-02 18:19:32 +02:00
Konstantin Barabanov b4d3ebf472
fix(vue-app): sanitize path with trailing slash in `getLocation` (#6744) (#6745) 2020-06-30 19:16:21 +02:00
pooya parsa a52385361b
fix(vue-app): remove hash from payload path (#7614)
* fix(vue-app): remove hash from payload path

* test: add hash usage to full-static fixture
2020-06-26 17:10:24 +02:00
Sébastien Chopin fe01ec34d3
fix(vue-app): no need to set layout on App (#7606) 2020-06-25 15:23:06 +02:00
Sébastien Chopin 6332aaa3a2 fix: check correct layout when navigating from error
Resolves #7567
2020-06-23 19:54:47 +02:00
pooya parsa 11a87d858d
fix(vue-app): always import `resolveRouteComponents` (#7591)
[release]
2020-06-23 17:48:09 +02:00
Xin Du (Clark) 7f1429ebb3
fix(vue-app): not strip trailing slash for redirect external domain (#7533) 2020-06-18 17:32:39 +02:00
Ryan Henning 838394815d
fix(vue-app): `redirect` no longer strips trailing slash from URL (#7475) 2020-06-16 20:37:47 +01:00
pooya parsa 92ef65c8ed
fix(generator): encode routes and show error summary (#7518) 2020-06-16 17:53:29 +02:00
Pooya Parsa 2faa30259f chore(deps): update @nuxt/loading-screen to 2.0.0-rc.4 2020-06-16 15:48:10 +02:00
Sébastien Chopin 44f471f141 hotfx(vue-app): app is not defined
[release]
2020-06-12 19:41:41 +02:00
Sébastien Chopin 7c6e170a89
fix: handle router.base for crawler and serve (#7486)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2020-06-10 09:51:29 +02:00
Jonas Galvez 0acfc78932
fix(vue-app): prevent double layout execution (#5703) (#7442) 2020-06-09 18:39:51 +02:00
Pooya Parsa 35f3ad7de3
fix: use different port for loading-screen sse (#7286)
* chore: read sse base from _loadingScreenBaseURL

* bump: @nuxt/loading-screen to 2.0.0-rc.1
2020-06-01 17:30:26 +02:00
Pooya Parsa 1e53e38f8d
refactor: inline staticAssetsBase in state chunk for full-static (#7401)
* refactor(vue-app): use NUXT.serverRendered instead of NUXT.spa

* refactor: inline staticAssetsBase into state.js chunk

* revert: unwanted change

[release]
2020-05-20 19:31:31 +02:00
Pooya Parsa 0337932115
feat: runtime config and built-in dotenv support (#7312)
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
Co-authored-by: Alexander Lichter <manniL@gmx.net>
2020-05-18 10:21:15 +02:00
Sibbngheid 0c81c52c41
fix: set build indicator icon height for ie11 (#7378) 2020-05-17 21:42:00 +02:00
Sébastien Chopin f4f6b1912b fix(vue-app): catch error on full static for store mutations
[release]
2020-05-17 00:04:17 +02:00