Commit Graph

464 Commits

Author SHA1 Message Date
Toby Faux 3e34a61506
fix(nuxt): use `app.baseURL` when fetching error page on server (#8888)
Co-authored-by: Toby Faux <tobyfaux@Tobys-MacBook-Pro.local>
2022-11-10 14:42:55 +01:00
pooya parsa 52c2bffa76
fix(nuxt)!: remove `initialCache` option (#8885) 2022-11-10 14:27:59 +01:00
pooya parsa 83b5c09090
fix(nuxt): preserve render errors (#8884)
* fix(nuxt): preserve render errors

* simplify logic
2022-11-10 13:28:20 +01:00
pooya parsa 0ff4ebe808
feat: allow customizing root id and tag (#8883) 2022-11-10 12:41:02 +01:00
Daniel Roe 9227361027
fix(nuxt): detect non-functional imports within page meta (#8881) 2022-11-10 11:31:01 +01:00
renovate[bot] 84c26fa6fb
chore(deps): update dependency ultrahtml to v1 (#8864)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-10 10:43:36 +01:00
renovate[bot] dd600bbb66
chore(deps): update all non-major dependencies (#8779) 2022-11-10 10:43:24 +01:00
Daniel Roe 17099348e7
fix(nuxt)!: only add `$f` fetch prefix to auto-keys (#8852) 2022-11-10 09:39:49 +01:00
Daniel Roe 4bbd2618ce
feat(nuxt): auto-import `utils/` directory (#8817) 2022-11-09 10:43:16 +01:00
Daniel Roe 3839dba06a
refactor(nuxt): explicitly import app in nuxt-root (#8729) 2022-11-09 10:14:15 +01:00
Daniel Roe 453ce78300
fix(nuxt): swallow issues with query selectors (#8843) 2022-11-09 10:10:32 +01:00
Daniel Roe aec07f4255
style: lint `Route` interface (#8822) 2022-11-09 10:08:50 +01:00
Daniel Roe 5a32927935
fix(nuxt): do not render page if we are throwing error (#8821) 2022-11-09 10:08:37 +01:00
Daniel Roe 4d1be089d7
chore(nuxt): remove unused plugins (#8819) 2022-11-09 10:07:22 +01:00
Daniel Roe 10c2272f4f
refactor(nuxt)!: remove support for `404.vue` shorthand (#8809) 2022-11-09 10:05:22 +01:00
Alexander Lichter 0cf0f59bc5
fix(ssr): ensure useRequestHeaders are case-insensitive (#8805)
Co-authored-by: Haruaki OTAKE <aaharu@hotmail.com>
2022-11-09 10:04:19 +01:00
Alexander Lichter 15d4cea97e
feat(nuxt-link): add `isExternal` to slot props (#8800) 2022-11-09 10:02:11 +01:00
Daniel Roe 30d99477ce
fix(nuxt): add catchall paths to prerender list (#8782) 2022-11-09 10:00:34 +01:00
Daniel Roe e76ebdddd0
fix(nuxt): allow cookies to be set to `null` to unset them (#8769)
Co-authored-by: Magyar Balázs <magyarb94@gmail.com>
2022-11-09 09:59:23 +01:00
Agénor Debriat b60f1364c5
refactor(nuxt)!: fix typo for `NuxtRenderHTMLContext.bodyPrepend` (#8712) 2022-11-07 11:29:41 +01:00
Sébastien Chopin fe433a4222
fix(nuxt): check if global transitions are activated for scroll behavior (#8700) 2022-11-04 19:09:28 +01:00
pooya parsa bde9694733
v3.0.0-rc.13 (#8657) 2022-11-04 12:37:49 +01:00
pooya parsa 19a2cd1492
fix(nuxt): ensure payload url has no protocol (#8675) 2022-11-03 23:28:13 +01:00
pooya parsa 9eb6a62471
fix: resolve ids to support pnpm (#8671) 2022-11-03 22:48:51 +01:00
pooya parsa 253c8f7ee0
fix(nuxt): disallow directly rendering error page (#8673) 2022-11-03 22:48:29 +01:00
pooya parsa ea17148a6b
feat(kit, nuxt): support `prerender:routes` and `addPrerenderRoutes` (#8670) 2022-11-03 22:03:12 +01:00
Pooya Parsa 5a43e68e77 chore: update nitropack to 0.6.1 2022-11-03 21:21:03 +01:00
Daniel Roe cda498b070
fix(nuxt): do not inline global styles in html response (#8666) 2022-11-03 20:17:43 +01:00
renovate[bot] cda89b36e1
chore(deps): update all non-major dependencies (#8660)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-03 17:36:19 +01:00
Daniel Roe 71ecffa234
fix(nuxt): don't force prerender `/` if user doesn't have that route (#8639)
* fix(nuxt): don't force prerender `/` if user doesn't have `~/pages/index.vue`

* docs: add code comment
2022-11-03 15:52:03 +01:00
Daniel Roe 496fa14468
feat(nuxt): allow setting `name` and `path` for a route in `definePageMeta` (#8633) 2022-11-03 15:05:38 +01:00
Daniel Roe 491d02f6ca
fix(nuxt)!: use parser to generate page metadata (#8536) 2022-11-02 11:28:41 +01:00
Daniel Roe bdacfa6ffe
fix(nuxt): pass async-data errors through to client (#8521) 2022-11-02 10:07:28 +01:00
Daniel Roe 28ffb7fea0
fix(nuxt): add `vue-router` to optimized deps (#8544) 2022-11-02 09:53:23 +01:00
renovate[bot] 80871e7235
chore(deps): update all non-major dependencies (#8531)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-02 09:52:28 +01:00
pooya parsa 1f6b3be7d4
fix(nuxt, nuxi): improve `pages` creation and removal dx (#8502) 2022-10-27 17:50:24 +02:00
pooya parsa 265db50515
refactor(nuxt)!: cleanup schema and split nuxt 2 types (#8487) 2022-10-27 12:36:37 +02:00
renovate[bot] 24b06309ec
chore(deps): update all non-major dependencies (#8507)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-27 12:29:20 +02:00
Sacha STAFYNIAK b010e3e861
feat: add dev-only component (#7950) 2022-10-26 14:43:37 +02:00
renovate[bot] 8e1bcae8c6
chore(deps): update all non-major dependencies (#8435)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-10-26 13:16:56 +02:00
Anthony Fu bbea416c23
feat: upgrade `unimport` to 0.7.0 (#8483) 2022-10-26 10:28:00 +02:00
Daniel Roe 12808f175b
fix(nuxt): allow responding with custom headers from `error.vue` (#8469) 2022-10-26 10:25:27 +02:00
Daniel Roe 1d795f0274
fix(nuxt): call data refresh hook in parallel (#8470) 2022-10-25 17:29:35 +02:00
Daniel Roe 91eab1b312
feat(nuxt): add dev warnings when `setPageLayout` is used incorrectly (#8464) 2022-10-25 14:25:49 +02:00
Daniel Roe 59d8c51b5b
refactor(schema)!: disable `app.pageTransition` and `app.layoutTransition` by default (#8436) 2022-10-24 17:23:49 +02:00
Daniel Roe 5a88510cb7
feat(kit): add `updateTemplates` utility (#8413) 2022-10-24 10:53:02 +02:00
renovate[bot] 5e93604546
chore(deps): update all non-major dependencies (#8399)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-24 10:44:32 +02:00
Daniel Roe 6bcd9cdeb1
fix(nuxt): avoid directly importing `vue-router` inside `<NuxtLayout>` (#8421) 2022-10-24 10:36:49 +02:00
Daniel Roe e1ab5cf6d6
fix(nuxt): don't load payloads for external urls (#8370) 2022-10-21 10:27:58 +02:00
Christian Burkhart a0a59e2157
fix(nuxt): routerBehavior comparison for hash block (#8383) 2022-10-21 10:27:40 +02:00