Commit Graph

3119 Commits

Author SHA1 Message Date
Daniel Roe e450debc08
feat(kit): add `addServerPlugin` utility (#8635) 2022-11-03 15:54:05 +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
Pascal Sthamer 2cbdf3684d
docs: add information about type checking to `typescript.typeCheck` config. (#8632)
#8630
2022-11-03 15:04:37 +01:00
Daniel Roe 7c4899a7ab
fix(kit): normalize handler paths (#8626) 2022-11-03 15:04:02 +01:00
renovate[bot] d8c41e15b1
chore(deps): update all non-major dependencies (#8616)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-03 15:01:34 +01:00
Daniel Roe 491d02f6ca
fix(nuxt)!: use parser to generate page metadata (#8536) 2022-11-02 11:28:41 +01:00
Daniel Roe f485c143f5
fix(nuxt): check before appending comma in composable keys (#8529) 2022-11-02 11:15:33 +01:00
Daniel Roe bdacfa6ffe
fix(nuxt): pass async-data errors through to client (#8521) 2022-11-02 10:07:28 +01:00
Anthony Fu b719f1bb21
fix(vite): handle all vite middleware routes (#8601) 2022-11-02 10:05:17 +01:00
Rajendra 1a6eb3e3f6
docs: fix transition wording to include layouts (#8600) 2022-11-02 10:02:50 +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
Daniel Roe 7302bf2f6c
docs: generate docs for unversioned schema (#8535) 2022-10-27 17:45:04 +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
Daniel Roe 7c18434d6a
chore: reenable auto-upgrades for vueuse/head (#8506) 2022-10-26 16:16:53 +02:00
Daniel Roe 2284525662
fix(kit): don't require nuxt context when resolving path (#8504) 2022-10-26 15:55:11 +02:00
pooya parsa ea6ebd0b1f
docs: update stability edge banners (#8498) 2022-10-26 15:17:52 +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
Dawid Stefanko 5bc8c10a3b
docs: mention use case for `<KeepAlive>` in `definePageMeta` (#8491) 2022-10-26 12:50:40 +02:00
Josh Deltener d228b11c04
docs: updated bridge migration guide (#8471)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-10-26 11:18:22 +02:00
Daniel Roe 95ae87ba05
fix(schema): disable early hints by default (#8486) 2022-10-26 10:48:47 +02:00
Ondřej Misák 6d830c7629
docs: add note about early hints and nginx (#8485)
resolves https://github.com/nuxt/framework/issues/8306
2022-10-26 10:28:41 +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
Farnabaz 12c8949af9
docs: use `LinkExample` as block component (#8459) 2022-10-25 11:33:09 +02:00
Daniel Roe 452766e90e
fix(test-utils): override `NITRO_PORT` as well (#8458) 2022-10-25 11:17:24 +02:00
renovate[bot] 1683396633
chore(deps): update devdependency @types/node to v18 (#8448)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-25 10:45:41 +02:00
Daniel Roe 1ac8c99df9
chore(examples): add missing dependency and script for testing example (#8457) 2022-10-25 10:45:16 +02:00
Daniel Roe 54da6f81a0
fix(kit): use `pathe` to resolve aliases (#8453) 2022-10-25 10:24:09 +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
zecka 708460ddc8
docs: change required node version to be above 16.11 (#8408) 2022-10-24 10:47:03 +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 e7e7568288
fix(webpack): print build errors (#8388) 2022-10-24 10:44:19 +02:00
Nils 7b20e13c85
docs: add note about runtime config serialization (#8432)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-10-24 10:43:26 +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 6de1431a37
docs: disable transitions by default as hotfix (#8434) 2022-10-24 10:34:12 +02:00
Daniel Roe 4536242245
fix(vite): invalidate virtual modules with `vite-node` (#8389) 2022-10-24 10:32:49 +02:00
Adewale Adeyemi ded71608b4
docs: fix typo (#8427) 2022-10-24 10:06:39 +02:00
Julien Huang 02227a2f1b
docs(api): add `<ClientOnly>` to API docs (#8400) 2022-10-22 00:47:13 +02:00
Daniel Roe b9d83b3cd1
docs: add missing `app` key for transitions (#8385) 2022-10-21 11:26:59 +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
Daniel Roe 69a6a86d7c
feat(nuxt): make `useFetch` options reactive (#8374) 2022-10-21 10:13:14 +02:00