Commit Graph

1293 Commits

Author SHA1 Message Date
Daniel Roe
06be4cc025
feat(nuxt): auto-register layers in layers/ directory (#27221) 2024-05-15 05:51:14 -05:00
Anthony Fu
b96b62ecd2
refactor: improve regexp performance (#27207) 2024-05-14 12:54:37 -05:00
Daniel Roe
89baee0493
fix(nuxt): scan folder indices for middleware (#27187) 2024-05-13 21:23:15 +01:00
Daniel Roe
cebc89186e
feat(kit): add useRuntimeConfig and updateRuntimeConfig utils (#27117) 2024-05-09 18:49:35 +01:00
Daniel Roe
2d1ab61b2e
perf(nuxt): remove ssrContext.styles reference (from unused vue-style-loader) 2024-05-09 10:09:24 +01:00
Daniel Roe
0e12b6eb8b
fix(nuxt): don't pass options to spaLoadingTemplate function 2024-05-08 16:00:33 +01:00
Julien Huang
f687e211a8
feat(nuxt): add #fallback slot to server components types (#27097) 2024-05-08 13:33:54 +01:00
Nicolas Payot
177517951c
feat(nuxt): support multiple nuxtApps at runtime (#27068) 2024-05-08 13:32:45 +01:00
Daniel Roe
68f4b193be
perf(nuxt): emit simpler functional ui templates (w/o lodash) (#27091) 2024-05-07 22:45:03 +01:00
Julien Huang
a4d0958727
fix(nuxt): remove unused prop in NuxtTeleportIslandComponent (#27093) 2024-05-07 21:55:54 +01:00
Daniel Roe
c065505e1b
fix(nuxt): preload links with same hostname 2024-05-07 15:20:24 +01:00
Daniel Roe
8bdd620ba1
fix(nuxt): provide default url for URL constructor 2024-05-07 15:14:25 +01:00
Daniel Roe
bff1ec237b
fix(nuxt): deprecate process.* flags (#27089) 2024-05-07 15:07:18 +01:00
Daniel Roe
3169c5cec7
feat(nuxt): add onPrehydrate lifecycle hook (#27037) 2024-05-07 15:04:21 +01:00
Daniel Roe
233b6a717f
style: lint 2024-05-07 15:01:03 +01:00
Daniel Roe
ea22d3f988
fix(nuxt): use URL for parsing URLs rather than parseURL 2024-05-07 14:22:05 +01:00
Daniel Roe
5f0693a69a
fix(nuxt): use URL constructor to resolve external protocols 2024-05-07 14:14:02 +01:00
Daniel Roe
8e793ad5cc
fix(nuxt): use resolved path for test component import 2024-05-07 13:56:17 +01:00
Alex Liu
9e8261a69c
feat(nuxt): custom renderSSRHeadOptions config for unhead (#26989) 2024-05-07 13:37:02 +01:00
Alex Liu
4779f5906f
feat(nuxt): expose default slot from <NuxtPage> (#27050) 2024-05-03 13:58:18 +01:00
Daniel Roe
589b4037c1
feat(nuxt): prompt to install nuxt/scripts on usage (#27010)
Co-authored-by: Harlan Wilton <harlan@harlanzw.com>
2024-05-03 13:57:28 +01:00
Danila Rodichkin
ea21feaaf4
fix(nuxt): don't overwrite existing scope in runWithContext (#26976) 2024-05-03 11:27:38 +01:00
Michael Brevard
ad6bef5f70
Merge branch 'main' into patch-21 2024-05-03 12:13:44 +03:00
Daniel Roe
2c39b3ce61
feat(nuxt,schema): support new Nuxt folder structure (#27029) 2024-05-02 14:24:31 +01:00
Daniel Roe
99dc3ce888
build(nuxt): use relative path to ui-templates dist 2024-05-01 22:43:10 +01:00
Daniel Roe
0d4a622f3a
fix(nuxt,schema): remove .js extension from template imports 2024-05-01 21:59:45 +01:00
Daniel Roe
cd59dc1b8f
fix(nuxt): register redirect middleware before pushing route (#27016) 2024-05-01 18:04:19 +01:00
Harlan Wilton
8b67a19af6
feat(nuxt): configurable app.rootAttrs and teleportAttrs (#27014) 2024-05-01 16:27:30 +01:00
Daniel Roe
256ef1faf6
feat(nuxt,schema): inline error, welcome, spa-loading templates (#27021) 2024-05-01 14:10:33 +01:00
Daniel Roe
933c0aa71f
fix(nuxt): compile plugin templates last (#27009) 2024-05-01 06:43:35 +01:00
Daniel Roe
505e706dcb
feat(schema): v4 opt-in with future.compatibilityVersion (#26925) 2024-04-30 20:34:32 +01:00
Julien Huang
4544eaf228
fix(nuxt): useState in NuxtClientFallback setup function (#26928) 2024-04-27 21:01:09 +01:00
Alexandr
62030cad96
fix(nuxt): handle arrays correctly in updateAppConfig (#26949) 2024-04-26 15:44:51 +01:00
Pooya Parsa
fdbfed1280
chore: fix small typos (#26907) 2024-04-23 13:53:11 +01:00
rgehbt
9f9e3e6917
fix(nuxt): don't scan component dirs when enabled is false (#26906) 2024-04-23 13:19:12 +01:00
Nicolas Payot
1a91b120ee
fix(nuxt): check if _scope is active before calling run function (#26756) (#26904) 2024-04-23 10:34:41 +01:00
Julien Huang
62296818aa
fix(nuxt): don't encode location header (#26893) 2024-04-22 22:11:46 +01:00
Julien Huang
64d09fa31d
fix(nuxt): assign v-for to slot in islands (#26880) 2024-04-22 21:07:14 +01:00
Julien Huang
f0902f9301
perf(nuxt): remove state from nuxt island response (#26863) 2024-04-20 04:56:56 +03:00
Luke Nelson
306174c4d8
docs: add @since annotations to exported functions (#25365) 2024-04-19 17:58:19 +03:00
Joaquín Sánchez
4dbe748cfc
feat(nuxt): expose useLink from NuxtLink (#26522) 2024-04-19 12:48:49 +03:00
Inesh Bose
00a47be49a
fix(nuxt): re-initialise nuxt._ignore after all modules run (#26680) 2024-04-19 11:48:19 +03:00
Ryota Watanabe
be73cc9cf9
docs: deprecate pending value in data fetching composables (#26766) 2024-04-19 11:15:02 +03:00
Ivan Kalachikov
4fea6da1ae
feat(nuxt): add <NuxtRouteAnnouncer> and useRouteAnnouncer (#25741) 2024-04-17 16:58:13 +01:00
Daniel Roe
75e43ac427
fix(nuxt): avoid double-slash in ignore pattern 2024-04-17 14:23:20 +01:00
Danila Rodichkin
468ebbdf0b
perf(nuxt): unsubscribe from asyncData watch when unmounted (#26821) 2024-04-17 13:57:45 +01:00
Julien Huang
f725703bb2
docs: reference correct composable in callWithNuxt (#26771) 2024-04-15 16:19:57 +02:00
julien huang
fd0adea179 fix: return render function and not vnode directly 2024-04-13 20:14:36 +02:00
Michael Brevard
1f196a57cd
Merge branch 'main' into patch-21 2024-04-13 17:26:46 +03:00
autofix-ci[bot]
5c300a4698
[autofix.ci] apply automated fixes 2024-04-13 10:38:41 +00:00
Julien Huang
e4c9940269 fix: ssr improvement + static vnode rendering 2024-04-13 11:06:09 +02:00
Ryan Clements
b7ba3a4a80
fix(nuxt): hint prerenderer to crawl routes at runtime (#26694) 2024-04-13 00:21:02 +02:00
Damian Głowala
dec7191ac5
fix(nuxt): correctly remove extension from path in hasSuffix (#26725) 2024-04-11 08:23:14 +02:00
Michael Brevard
cfb6660fcd
fix: missing question marks 2024-04-11 00:42:29 +03:00
Michael Brevard
8555cec97d
fix: ensure el itself isn't null 2024-04-11 00:20:34 +03:00
Michael Brevard
2ee3cf53ee
fix: verify none null 2024-04-11 00:16:39 +03:00
Michael Brevard
dc6d922773
fix: join the fragments 2024-04-11 00:13:22 +03:00
Michael Brevard
e2d0350698
fix: use VNode type 2024-04-11 00:10:54 +03:00
Michael Brevard
580d9bd463
fix: import useNuxtApp and provide types 2024-04-11 00:06:49 +03:00
autofix-ci[bot]
31002ecc2d
[autofix.ci] apply automated fixes 2024-04-10 21:05:11 +00:00
Michael Brevard
2375650c36
feat: support lazy hydration on SSR 2024-04-11 00:02:48 +03:00
Michael Brevard
b4c4d47721
Merge branch 'main' into patch-21 2024-04-10 10:43:21 +03:00
Michael Brevard
effebbb02f
fix: strict types 2024-04-10 10:32:26 +03:00
Julien Huang
30e27f48d1
fix(nuxt): encode location header in navigateTo (#26712) 2024-04-10 09:03:25 +02:00
Michael Brevard
2df20ac681
fix: remove comma 2024-04-10 10:02:39 +03:00
Michael Brevard
503b560d9b
wip: network idle based delayed component 2024-04-10 10:00:38 +03:00
Michael Brevard
8c1c23a422
chore: trying to resolve default 2024-04-09 23:47:41 +03:00
julien huang
b3250e4a46 fix(nuxt): send the component loader and not the name 2024-04-09 21:55:27 +02:00
Michael Brevard
59edd16fce
chore: mark no side effects 2024-04-09 22:12:57 +03:00
Michael Brevard
9b94d100a2
chore: retrying without ClientOnly 2024-04-09 22:01:37 +03:00
autofix-ci[bot]
669fcee81b
[autofix.ci] apply automated fixes 2024-04-09 18:51:50 +00:00
Michael Brevard
2fa63ccfff
Merge branch 'main' into patch-21 2024-04-09 21:49:35 +03:00
Michael Brevard
988a99b771
fix: don't use the default that is used for slots 2024-04-09 21:49:02 +03:00
Anthony Fu
36c0137b7e
feat(nuxt): introduce imports.scan option (#26576) 2024-04-09 15:03:42 +02:00
Damian Głowala
0a1b72f9fd
feat(nuxt): support passing options to useRequestURL (#26687) 2024-04-09 15:03:29 +02:00
Han
98a02744bd
fix(nuxt): prevent getCachedData from shaping type of useAsyncData (#25946) 2024-04-08 18:38:40 +01:00
Michael Brevard
36dc73152f
fix: append identifier before import 2024-04-08 19:28:58 +03:00
autofix-ci[bot]
816ba111b4
[autofix.ci] apply automated fixes 2024-04-08 14:22:13 +00:00
Michael Brevard
20a32b2200
wip: provide hardcoded check to test delayed hydration runtime comp 2024-04-08 17:19:59 +03:00
autofix-ci[bot]
66938bc152
[autofix.ci] apply automated fixes 2024-04-08 07:24:28 +00:00
Michael Brevard
758824463d
Merge branch 'main' into patch-21 2024-04-08 10:21:48 +03:00
Julien Huang
bfb7eeac07
perf(nuxt): don't add client fallback plugin if not enabled (#26666) 2024-04-06 16:15:47 +01:00
Anthony Fu
f209158352
chore: cleanup eslint rules with latest @nuxt/eslint-config (#26653) 2024-04-05 19:08:32 +01:00
Anthony Fu
ee608cea2c
chore: update moduleResolution to Bundler (#26658) 2024-04-05 16:36:52 +01:00
Michael Brevard
444e5be6e8
Merge branch 'main' into patch-21 2024-04-05 12:36:56 +03:00
Alex Liu
af3594c788
fix(nuxt): handle missing Nuxt context in useRoute (#26633) 2024-04-03 21:49:09 +01:00
Luke Nelson
a3a28a913e
chore: migrate to ESLint flat config (#26583) 2024-04-03 21:46:58 +01:00
Julien Huang
2dc4505c8a
fix(nuxt): normalise rollup opts in island transform w/o nuxt (#26589) 2024-04-03 11:36:15 +01:00
Daniel Roe
be49918139
perf(nuxt): reduce router resolutions (#26519) 2024-04-03 10:56:27 +01:00
Daniel Roe
1019ed9fba
fix(nuxt): handle auto-importing named components (#26556) 2024-04-03 10:15:36 +01:00
Daniel Roe
cbb4a1cb61
perf(nuxt): unsubscribe from watch when scope is disposed (#26554) 2024-04-03 10:15:21 +01:00
Daniel Roe
2f8915127d
fix(nuxt): suppress warning about resolve cache-driver (#26595) 2024-04-03 09:51:05 +01:00
Michael Brevard
586cfa5a3e
Merge branch 'main' into patch-21 2024-03-30 16:12:02 +03:00
Alex Liu
8eef1e3c57
refactor(nuxt): simplify runtimeConfig initialization of client side (#26558) 2024-03-30 07:48:43 +00:00
Julien Huang
6dcad76a06
perf(nuxt): reduce nuxt island payload (#26569) 2024-03-30 07:41:46 +00:00
Alex Liu
a33674b06b
refactor(nuxt): simplify check in navigateTo for server (#26546) 2024-03-29 10:42:06 +00:00
xjccc
9b243631b4
refactor(nuxt): remove duplicated check (#26544) 2024-03-29 10:09:25 +00:00
Daniel Roe
22dfac7bd7
fix(nuxt): augment GlobalComponents in multiple vue modules (#26541) 2024-03-29 09:13:04 +00:00
Daniel Roe
4a87c35df6
fix(nuxt): handle errors parsing/stringifying logs 2024-03-27 17:12:57 +00:00
Michael Brevard
36f2c75290
Merge branch 'main' into patch-21 2024-03-27 13:47:31 +02:00