Commit Graph

12 Commits

Author SHA1 Message Date
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
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
pooya parsa d9f48228fe
fix(cli): rebuild if process.env changes in nuxt.config (#8200) 2020-10-14 10:30:44 +02:00
pooya parsa 81a695669e test: custom publicPath for full-static fixture 2020-08-26 11:57:12 +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
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
pooya parsa 92ef65c8ed
fix(generator): encode routes and show error summary (#7518) 2020-06-16 17:53:29 +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
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
Pooya Parsa 42406d6075
feat: store and replay vuex mutations for static target (#7350)
* feat: store and replay vuex mutations for static target

* test: add full-static fixture

* perf: clean store subscription before render

* fix: record mutations after nuxtServerInit and middleware
2020-05-12 13:05:24 +02:00