Commit Graph

434 Commits

Author SHA1 Message Date
Pooya Parsa
773d292b5a chore: update repo 2022-09-03 14:46:48 +02: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
Xin Du (Clark)
816007b994
chore(test): fix external redirect link (#9816)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-09-17 16:51:20 +01:00
renovate[bot]
85615360b4
chore(deps): update all non-major dependencies (#9400)
[release] 

Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-08-11 16:15:56 +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
William L'Archeveque
b116d0ded4
feat(generator): add ignoreEnv generate option during ensureBuild(cmd) (#8955)
[release]
2021-05-26 09:05:11 +02:00
Xin Du (Clark)
908d2522ae chore(lint): remove usage of this in template 2021-03-06 19:55:28 +00:00
Xin Du (Clark)
4a60a1934c chore(lint): fix vue/html-self-closing 2021-02-20 16:58:20 +00:00
pooya parsa
1b9a9d6449
fix(renderer): deep merge runtimeConfig for server (#8856) 2021-02-19 17:33:00 +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
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
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
pooya parsa
b06df71753
fix: trailingSlash and child routes not working (#8423) 2020-12-17 14:34:53 +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
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
85bb97906c v2.14.10 [hotfix] 2020-12-07 11:37:14 +01:00
pooya parsa
fc51ca3330
fix: normalize routes and decode resolved query (#8430) 2020-12-06 18:32:39 +01:00
Daniel Roe
8d9d6a94d2
feat(vue-renderer): allow adding async attribute to <script> tags (#8347) 2020-12-01 12:10:44 +01:00
pooya parsa
c15fc421ab
refactor: use nuxt everywhere (#8210) 2020-11-30 23:44:04 +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
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
renovate[bot]
e934da3c36
chore(deps): update devdependency @nuxtjs/eslint-config to v5 (#8345)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Clark Du <clark.duxin@gmail.com>
2020-11-14 17:10:53 +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
011b3b4491
test: fix redirect tests (#8282) 2020-11-04 13:32:57 +00:00
pooya parsa
d9f48228fe
fix(cli): rebuild if process.env changes in nuxt.config (#8200) 2020-10-14 10:30:44 +02:00
Daniel Roe
9c4dac3c61
fix(vue-app): use getter to provide this.$nuxt (#8170) 2020-10-13 12:19:08 +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
d864b2bd75
chore(config): deprecate mode option (#8044) 2020-09-09 16:39:20 +02:00
Dmitriy
757d5d46da
fix(vue-app): missing layout in error page with splittedChunks.layout (#8016) 2020-09-09 12:32:10 +02:00
pooya parsa
4de44e6c52
fix(config): avoid recursion when interpolating env (#8014) 2020-09-09 10:50:27 +02:00
pooya parsa
a7da6fd56f
fix(config): don't interpolate variables with undefined value (#8013) 2020-09-03 13:42:17 +02:00
pooya parsa
81a695669e test: custom publicPath for full-static fixture 2020-08-26 11:57:12 +02:00
Matthieu Sieben
128c9743c4
fix(vue-app): handle server-side routing errors (#7801) 2020-08-04 11:29:23 +02:00
pooya parsa
2e1025f2de
fix(webpack): avoid grouping with default name (#7808)
[release]
2020-07-30 16:22:03 +02:00
Ahad Birang
298c3e3ef7
fix(generator): avoid duplicate slashes for routes ending with hash (#7776)
* fix: remove duplicate slashes from crawled routes

* fixture: use trailing slash for hash

* refactor: do trailing slash sanetization after hash removal

* test: enable trailing slash for full-static fixture

Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2020-07-27 11:01:24 +02:00
Simon Tretter
b4ffdab790
fix(webpack): fallback for empty chunk name (#7667)
[release]

Co-authored-by: pooya parsa <pyapar@gmail.com>
2020-07-04 17:28:46 +02:00
pooya parsa
2302ffa40b fix(webpack): use group hash if compact name is long
Similar fix of webpack/webpack#6429 [release]
2020-07-02 16:27:10 +02:00
pooya parsa
1edac29eba
fix(webpack): use compact name for concatenated modules (#7639)
[release]
2020-06-30 19:47:42 +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
Xin Du (Clark)
7f1429ebb3
fix(vue-app): not strip trailing slash for redirect external domain (#7533) 2020-06-18 17:32:39 +02:00
pooya parsa
92ef65c8ed
fix(generator): encode routes and show error summary (#7518) 2020-06-16 17:53:29 +02:00
Pim
df7e1ad3a2
fix(vue-renderer): fix meta injection when ssr renderer generates a spa page (#7439) 2020-06-10 17:26:50 +02:00
Pooya Parsa
c48a834b98 test: add dynamic page to full-static fixture 2020-06-10 15:15:13 +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
Ahad Birang
be726e42b6
feat(generator): allow excluding exported pages using export:page hook (#7455) 2020-06-03 21:35:28 +02:00
Pooya Parsa
a82f8d8b1f
feat(generator): export:route hook and setPayload (#7422)
* feat(generator): shared payload support for `nuxt export`

* feat: add `export:` hooks for upward compatibility

* fix: use setPayload to avoid breaking usage

* test: update test

* fix: deep assign

* chore: update tests

* fix: route payload has more periority than shared one

* test: update generator hook tests

* lint: remove unnecessary import
2020-05-27 16:51:51 +02:00