Commit Graph

449 Commits

Author SHA1 Message Date
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
renovate[bot]
c221f60780
chore(deps): update dependency ufo to ^0.6.5 (#8805)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-10 12:33:54 +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
renovate[bot]
87ec80603a
chore(deps): update dependency ufo to ^0.6.2 (#8791)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-08 11:54:41 +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
renovate[bot]
be79532715
chore(deps): update all non-major dependencies (#8751)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-03 13:26:37 +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
renovate[bot]
db29fcdbc3
chore(deps): update all non-major dependencies (#8698)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-26 23:07:49 +01:00
renovate[bot]
592342fe72
chore(deps): update all non-major dependencies (#8694)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-26 09:32:27 +00:00
Alexander Lichter
cff123cc9d
chore(types): lint types (#8630) 2021-01-13 12:22:49 +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
renovate[bot]
db5cea1d17
chore(deps): update all non-major dependencies (#8595) 2021-01-11 16:54:27 +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
108cd8216a chore: reorder deps 2020-12-22 18:40:31 +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
pooya parsa
dec8f99fc3
feat: support plug-and-play, typescript runtime and native modules (#8389)
Co-authored-by: Clark Du <clark.duxin@gmail.com>
2020-12-22 18:07:50 +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
renovate[bot]
5a5161aa52
chore(deps): update dependency @nuxt/ufo to ^0.5.2 (#8499)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-16 15:22:23 +01:00
renovate[bot]
fedba22f73
chore(deps): update all non-major dependencies (#8463)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-16 14:42:38 +01:00
Pooya Parsa
a78427c165 v2.14.12 [hotfix] [release] 2020-12-16 14:21:30 +01:00
Pooya Parsa
bde4c5f6b0 v2.14.12 2020-12-16 14:13:06 +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
d85f4b9264 v2.14.11 [release] 2020-12-10 00:20:26 +01:00
pooya parsa
966796fbdf
fix: fix issues with route normalization (#8462)
Co-authored-by: Clark Du <clark.duxin@gmail.com>
2020-12-10 00:19:31 +01:00
Pooya Parsa
e97051adfa v2.14.10 [release] 2020-12-07 11:28:46 +01:00
pooya parsa
fc51ca3330
fix: normalize routes and decode resolved query (#8430) 2020-12-06 18:32:39 +01:00
Pooya Parsa
e9f380c9e6 v2.14.9 [release] 2020-12-02 11:34:18 +01:00
pooya parsa
49c293b25f
fix: only encode non dynamic path params (#8421) 2020-12-01 16:01:25 +01:00
Pooya Parsa
68d8fb8487 v2.14.8 [release] 2020-12-01 12:05:12 +01:00
Pooya Parsa
a8cc430574 chore: remove extra import 2020-11-30 23:25:44 +01:00
renovate[bot]
8d20da91c3
chore(deps): update all non-major dependencies (#8396)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-30 23:18:57 +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
renovate[bot]
e635cc5044
chore(deps): update all non-major dependencies (#8326)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-25 15:15:58 +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
Pooya Parsa
8b8eb84c89 chore: pin vue-router to 3.4.8 2020-11-09 20:01:54 +01:00
renovate[bot]
63f5a0ed8c
chore(deps): update all non-major dependencies (#8300)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-09 18:11:56 +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
renovate[bot]
918b589772
chore(deps): update all non-major dependencies (#8224)
* chore(deps): update all non-major dependencies

* fix lock

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Clark Du <clark.duxin@gmail.com>
2020-10-29 21:47:05 +00:00
renovate[bot]
d5c05054fe
chore(deps): update all non-major dependencies (#8211)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-19 11:59:14 +02:00
pooya parsa
265d0e7aac v2.14.7
[release]
2020-10-15 18:17:49 +02:00
Daniel Roe
9c4dac3c61
fix(vue-app): use getter to provide this.$nuxt (#8170) 2020-10-13 12:19:08 +02:00
renovate[bot]
f0c1375477
chore(deps): update all non-major dependencies (#8137)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-08 16:34:45 +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
renovate[bot]
3aa02cf00c
chore(deps): update all non-major dependencies (#8131)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-30 10:55:52 +01:00
renovate[bot]
d7a8548d53
chore(deps): update all non-major dependencies (#8101) 2020-09-28 10:57:10 +01:00
pooya parsa
41176577ad v2.14.6
[release]
2020-09-21 12:30:19 +02: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
pooya parsa
3b037720f2 v2.14.5
[release]
2020-09-10 14:35:08 +02:00
Dmitriy
757d5d46da
fix(vue-app): missing layout in error page with splittedChunks.layout (#8016) 2020-09-09 12:32:10 +02:00
renovate[bot]
0bafd77306
chore(deps): update all non-major dependencies (#8005)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-09 10:22:44 +02:00
pooya parsa
1a77fba4eb v2.14.4 2020-08-27 12:25:35 +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
renovate[bot]
e72d03a49a
chore(deps): update all non-major dependencies (#7929)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-25 15:11:17 +01:00
pooya parsa
5e9d759d7b v2.14.3 [release] 2020-08-16 19:03:06 +02:00
pooya parsa
34c56722c8 v2.14.2 [release] 2020-08-16 12:57:53 +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
renovate[bot]
5fdfba2279
chore(deps): update all non-major dependencies (#7853)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-13 15:05:54 +02:00
pooya parsa
c30499d7e0 v2.14.1
[release]
2020-08-04 17:33:56 +02:00
Matthieu Sieben
128c9743c4
fix(vue-app): handle server-side routing errors (#7801) 2020-08-04 11:29:23 +02:00
pooya parsa
60f68638cb v2.14.0 [release] 2020-07-27 19:23:49 +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
Piotr Tomiak
8d51eebe0c
feat(vue-app): add web-types.json for better code insight in WebStorm (#7611)
* feat(vue-app): add web-types.json for better code insight in WebStorm (#7607)

* fix: add web-types to files section

Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2020-07-09 13:11:20 +02:00
pooya parsa
e3821ba78c v2.13.3 [release] 2020-07-02 20:06:42 +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
renovate[bot]
62282853a8
chore(deps): update all non-major dependencies (#7634)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-30 19:20:53 +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
c998072c94 v2.13.2 2020-06-26 20:58:45 +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
pooya parsa
56b158e7d6 v2.13.1 [release] 2020-06-24 10:36:15 +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