Commit Graph

1293 Commits

Author SHA1 Message Date
Daniel Roe
dc0e8347bf
refactor(nuxt): use defineComponent to infer prop types for router-link stub 2023-11-28 09:53:24 +00:00
Luke Nelson
4ce6bc244c
feat(nuxt): warn when page uses a layout without <NuxtLayout> (#24116) 2023-11-23 21:12:28 +00:00
Anthony Fu
338908e0f0
fix(nuxt): improve path resolve for import.d.ts (#24413) 2023-11-23 21:01:26 +00:00
Daniel Roe
b8bfa60ece
chore: import types from '#app' (#24418) 2023-11-22 22:40:02 +00:00
Pooya Parsa
1012dc0dbd
fix(nuxt): avoid recursive ssr errors (#24399) 2023-11-22 09:58:29 +00:00
Anthony Fu
1cc05b9ae6
fix(nuxt): handle errors when booting app with app:error (#24376) 2023-11-20 21:18:26 +00:00
renovate[bot]
23e908a6c1
chore(deps): update all non-major dependencies (main) (#24374)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-11-20 20:31:29 +00:00
Pooya Parsa
63685431d8
chore(deps): upgrade to nitro 2.8 (#24370) 2023-11-20 18:10:58 +00:00
Christian Gil
a10e33c009
fix(nuxt): use max length + iterations for useCookie timeout (#24253) 2023-11-20 17:58:52 +00:00
Luke Nelson
6e44b1b6b6
fix(nuxt): respect custom timeout in useFetch (#24364) 2023-11-20 13:59:41 +00:00
Julien Huang
7cce0ef6e6
fix(nuxt): log errors rendering islands (#24356) 2023-11-18 20:47:55 +00:00
Pooya Parsa
c2fabc82aa
fix(nuxt): set framework info for nitro (#24340) 2023-11-16 15:16:42 +00:00
webfansplz
55e0f38dde
fix(nuxt): do not compute useFetch key from headers (reverts #23462) (#24333) 2023-11-16 14:04:48 +00:00
Daniel Roe
13a6ab3d5e
fix(nuxt): split component name case in each segment (#24318) 2023-11-15 21:52:56 +00:00
Daniel Roe
562532778b
fix(nuxt): deeply unwrap headers/query for useFetch key (#24307) 2023-11-15 19:40:55 +00:00
Aaron_Zhou
5493d60c4a
fix(nuxt): provide route component names to KeepAlive cache (#24024) 2023-11-14 16:56:31 +00:00
Julien Huang
bd32ccd2d6
fix(nuxt): fix replace regex used for slots in islands SSR (#24255) 2023-11-13 08:29:44 +01:00
Daniel Roe
c1ddb359e3
chore: update to use @nuxt/eslint-config (#24209)
Co-authored-by: Damian Głowala <damian.glowala.rebkow@gmail.com>
2023-11-09 18:01:13 +01:00
Daniel Roe
c3cf55d963
fix(nuxt): handle multi-line slots in islands (#24212) 2023-11-09 14:45:45 +01:00
Nasser BOUKEHIL
bb533f8d25
fix(nuxt): include plugin templates in plugins.d.ts if they will be written (#23943)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-11-09 12:25:37 +01:00
Damian Głowala
61dd849aa7
fix(nuxt): wrap caught asyncData error in createError (#24093)
Co-authored-by: Bogdan Kostyuk <contact@bogdankostyuk.xyz>
2023-11-08 13:28:52 +00:00
renovate[bot]
fa207a9fd5
chore(deps): update all non-major dependencies (main) (#24117)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-11-06 11:01:03 +00:00
webfansplz
ea3ce937e6
fix(nuxt): handle async children in ClientFallback (#24086) 2023-11-03 21:04:26 +00:00
Damian Głowala
6c48f8b8e6
fix(nuxt): account for delay ≤ 0 in useCookie (#24043) 2023-11-03 16:20:15 +00:00
Daniel Roe
d1306d6ebd
fix(nuxt): use shared isChangingPage util in scrollBehavior (#24091) 2023-11-02 20:51:32 +01:00
Daniel Roe
e753abd7b8
fix(nuxt): resolve imports from virtual files (#24022) 2023-11-01 16:55:34 +01:00
Daniel Roe
948b30d9c9
fix(nuxt): reload nitro when spa loading template updates (#24036) 2023-10-31 19:05:06 +01:00
Daniel Roe
c4bb8f31d4
fix(nuxt): do not register loading indicator hooks on server (#24052) 2023-10-31 17:36:44 +01:00
Daniel Roe
7500f27235
fix(nuxt): preserve hyphens in component/layout kebab names (#23902) 2023-10-31 14:30:54 +01:00
Daniel Roe
d7b1116443
perf(nuxt): use granular imports for auto-importing composables (#23951) 2023-10-30 22:05:02 +01:00
Daniel Roe
27791f4c33
perf(nuxt): remove pure annotations plugin (#24033) 2023-10-30 22:04:45 +01:00
Daniel Roe
62b7917d2c
fix(nuxt): use payload url for isPrerendered, not current route (#24031) 2023-10-30 21:56:34 +01:00
Daniel Roe
2011e6c159
perf(nuxt): set pages on nuxt app and deduplicate calls (#24032) 2023-10-31 01:55:40 +09:00
Hugo Torzuoli
64b99b1007
docs: update link to composables doc (#23989) 2023-10-28 06:53:09 +09:00
Mathieu ALBIN
a9218239ea
fix(nuxt): unset useCookie value when it expires (#23549) 2023-10-27 23:49:26 +09:00
Julien Huang
df022a4a9d
fix(nuxt): use route key for loading indicator/view transition (#23868) 2023-10-27 23:32:09 +09:00
renovate[bot]
22f8432089
chore(deps): update all non-major dependencies (main) (#23904)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-10-25 11:04:27 +09:00
Bastien Rossi
e4e3889421
refactor(nuxt): use useRequestEvent() internally (#23916) 2023-10-25 09:49:36 +09:00
Julien Huang
a037512562
fix(nuxt): render a div when client-only hydrates w/o element (#23899) 2023-10-25 09:34:22 +09:00
Anthony Fu
8c77ce81b9
fix(nuxt): init $fetch at entry start (#23906) 2023-10-25 09:31:25 +09:00
Daniel Roe
ba4361a0f0
fix(nuxt): only skip refetching errors when hydrating (#23889) 2023-10-23 23:04:45 +09:00
Daniel Roe
2dc078ea40
fix(nuxt): don't use local fetch with an external baseURL (#23884) 2023-10-23 21:17:41 +09:00
Daniel Roe
cd76c617fa
fix(nuxt,schema,vite,webpack): analyze w/o overriding config (#23856) 2023-10-23 20:19:16 +09:00
Daniel Roe
d6c196afad
fix(nuxt): resolve @unhead/vue in template code (#23858) 2023-10-22 09:39:56 +02:00
Daniel Roe
06e6140953
fix(nuxt): improve watcher logs slightly (#23857) 2023-10-22 09:23:03 +02:00
Daniel Roe
7b8e7f176d
fix(nuxt): handle relative baseURL in nitro runtime config (#23841) 2023-10-21 19:17:53 +01:00
Daniel Roe
3d6ab2e4fe
fix(nuxt): use .json extension for server components (#23802) 2023-10-20 16:58:02 +01:00
Daniel Roe
591f4305b8
fix(nuxt,schema): use std-env to detect whether app is being tested (#23830) 2023-10-20 16:52:37 +01:00
Jianqi Pan
ffa6b6e60c
fix(nuxt): resolve internal target: blank links with base (#23751) 2023-10-20 16:33:45 +01:00
Daniel Roe
785b7a3f6e
fix(nuxt): close payload object (#23817) 2023-10-20 11:49:26 +01:00
Daniel Roe
8c9333a41c
fix(nuxt): ensure we add prerender hints to correct event (#23799) 2023-10-19 23:44:45 +01:00
Daniel Roe
108b1bdf72 fix(nuxt): restore prerenderedAt behaviour pending next patch 2023-10-19 15:24:38 +01:00
Daniel Roe
91c62d6c3e
fix(nuxt): don't use prerenderedAt to override app manifest (#23781) 2023-10-19 14:32:23 +01:00
Daniel Roe
5652346d7a
feat(nuxt): allow customising defaults for data composables (#23725) 2023-10-18 15:25:25 +01:00
Daniel Roe
9dd304628a
feat(nuxt): allow configuring default <NuxtLink> options (#23724) 2023-10-18 13:43:42 +01:00
Sébastien Chopin
f26a801775
docs: update to new website (#23743)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-10-18 12:59:43 +02:00
Daniel Roe
6141c08a44
feat(nuxt): prompt to autoinstall @nuxt/image when it is used (#23717) 2023-10-17 12:07:31 +01:00
Daniel Roe
e64ece70c0
fix(nuxt): respect custom export in component transform (#23715) 2023-10-17 11:19:47 +01:00
Daniel Roe
ae630c599f
fix(nuxt): don't mark redirected routes as prerendered (#23707) 2023-10-16 23:28:42 +01:00
Aleksandar Trpkovski
00917a1bd8
feat(nuxt): scan and register layouts in nested folders (#20190)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-10-16 22:58:40 +01:00
Dario Ferderber
b52548d915
feat(nuxt): custom cache support for data fetching composables (#20747) 2023-10-16 20:54:39 +01:00
warflash
f4d67a9bcd
fix(nuxt): refetch both undefined/null values in useAsyncData (#23351) 2023-10-16 20:20:02 +01:00
Daniel Roe
34adac661d
fix(nuxt): write cookie values before navigating away (#23697) 2023-10-16 14:36:30 +01:00
Julien Huang
24b629e82e
fix(nuxt): skip hydration mismatches with client components (#19231) 2023-10-16 14:09:54 +01:00
Sacha Stafyniak
830f4f4aa8
feat(nuxt): support deep: false for data composables (#23600) 2023-10-16 13:56:23 +01:00
Alex Liu
732507b41f
fix(nuxt): resolve type error in options of useFetch (#23693) 2023-10-16 12:56:37 +01:00
Daniel Roe
1487c5631a
fix(nuxt): provide global scope for nuxt plugin context (#23667) 2023-10-15 15:52:46 +01:00
Alex Liu
5c7cca170a
fix(nuxt): clear cookie BroadcastChannel when scope is disposed (#23664) 2023-10-13 21:10:34 +01:00
Daniel Roe
458acbb8e1
fix(nuxt): give priority to later middleware when deduping (#23552) 2023-10-12 23:21:02 +01:00
Maritaria
64bc3c3224
fix(nuxt): tree shake all occurrences of <DevOnly> (#23466) 2023-10-12 18:27:21 +01:00
Anthony Fu
598e8c2cd0
feat(nuxt): add @nuxt/devtools as dependency and enable (#23576) 2023-10-12 16:50:49 +01:00
Daniel Roe
eb40409f23
feat(kit,nuxt,vite,webpack): support -nightly extension (#23508) 2023-10-12 15:17:38 +01:00
Aaron_Zhou
b3d3d7f4fd
fix(nuxt): use import alias when checking if plugin is wrapped (#23617) 2023-10-11 17:01:23 +01:00
renovate[bot]
a5dad0d2e8
chore(deps): update devdependency eslint-plugin-jsdoc to v46 (main) (#23614)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-10-11 13:31:22 +01:00
Daniel Roe
d8d0ef561e
fix(nuxt): don't print warnings for unresolved ids (#23604) 2023-10-11 11:35:34 +01:00
Anthony Fu
fc7b131bf7
feat(nuxt): auto-install optional features on StackBlitz (#23607) 2023-10-11 11:31:14 +01:00
Ezra Adeyinka
8db82af3a9
chore: fix various typos and update to US English (#23580) 2023-10-10 12:14:55 +01:00
Daniel Roe
5397e93ff0
test(nuxt): add test suite for app resolution behaviour (#23520) 2023-10-06 12:30:53 +02:00
Pooya Parsa
93ace55481
feat(nuxt): native async-context in vue's withAsyncContext (#23526) 2023-10-05 16:46:53 +02:00
Daniel Roe
861d49e79f
fix(nuxt): use test/dev as manifest buildId when appropriate (#23512) 2023-10-03 10:58:36 +01:00
Hendrik Heil
3bde91439a
fix(nuxt): compute fetch cache key with headers (#23462) 2023-10-02 11:31:38 +01:00
Daniel Roe
96d9d56ac5
fix(nuxt): decrement hydration count when rendering no route (#23476) 2023-10-01 16:22:39 +01:00
Albert Brand
df90d4234c
fix(nuxt): ignore prefix if clearNuxtState called w/o keys (#23483) 2023-10-01 09:37:53 +01:00
Hendrik Heil
b95c85b552
fix(nuxt): stringify cookie values before broadcasting them (#23449) 2023-09-29 11:59:47 +01:00
Daniel Roe
a06d5247ca
feat(nuxt): add prerenderRoutes ssr composable (#22863) 2023-09-28 11:54:22 +01:00
Daniel Roe
4b5e6ff195
feat(nuxt): warn when nesting nuxt links when SSR on dev (#23286) 2023-09-28 11:08:20 +01:00
Daniel Roe
1b34386707
fix(nuxt): rename stub to avoid shadowing vue-router (#23440) 2023-09-28 08:37:14 +01:00
Arsen Goian
17e6c1f7fb
fix(nuxt): apply scoped styles to islands (#23386) 2023-09-28 08:36:13 +01:00
Damian Głowala
7005a66d9a
fix(nuxt): initialise asyncData errors with null (#23428) 2023-09-27 14:43:53 +01:00
Daniel Roe
a6f845d1ec
fix(nuxt): detect nested pages with /index segments (#23404) 2023-09-26 02:09:12 +02:00
Daniel Roe
e900190278
fix(nuxt): add import protection for nuxt/* exports (#23357) 2023-09-22 12:32:13 +02:00
Percy Ma
3b90f82f8d
fix(nuxt): apply right types to modules and their runtime files (#23240) 2023-09-22 09:25:52 +02:00
Daniel Roe
a2fb8234ac
fix(nuxt): generate empty file when shim is disabled (#23333) 2023-09-22 09:20:29 +02:00
Daniel Roe
7dce07653c
fix(nuxt): experimental build manifest + client route rules (#21641) 2023-09-19 22:31:18 +01:00
Pooya Parsa
2bf9028f7e
refactor(kit,nuxt,schema): use consola and improve test dx (#23302) 2023-09-19 22:26:15 +01:00
Daniel Roe
137c0b6054
fix(nuxt): don't incl overridden layer pages as nested children (#23238) 2023-09-16 09:53:37 +01:00
Joaquín Sánchez
bc8a1fa614
fix(nuxt): load layer middlewares before project middlewares (#22925) 2023-09-16 09:39:51 +01:00
Julien Huang
ceab38770d
fix(nuxt): correct islandsTransform slot regex (#23226) 2023-09-14 22:44:18 +01:00
Daniel Roe
ba3ca72387
refactor(nuxt): use built-in consola prompts (#23205) 2023-09-14 10:17:55 +01:00
Daniel Roe
e729406805
fix(nuxt): use original escapes/quotes in page re-exports (#23191) 2023-09-14 07:06:07 +01:00
Daniel Roe
a95fd28725
fix(nuxt): allow importing server components from #components (#23188) 2023-09-13 23:35:53 +01:00
Julien Huang
95d1f9944d
refactor(nuxt): don't wrap server placeholders/client fallbacks (#21980) 2023-09-13 22:56:15 +01:00
Daniel Roe
8c1eaa0078
fix(nuxt): ensure plugins retain original order (#23174) 2023-09-13 09:35:11 +01:00
Daniel Roe
3e1ad3e20b
fix(nuxt): allow overriding components + only warn if clash (#23156) 2023-09-12 21:47:42 +01:00
Daniel Roe
9892d5cd3b
fix(nuxt): allow changing dirs within modules (#23133) 2023-09-12 15:27:28 +01:00
Daniel Roe
a4cf8a0c24
fix(nuxt): respect layer order for other layer plugins (#23148) 2023-09-12 15:24:35 +01:00
Daniel Roe
15e6dfb560
fix(nuxt): allow granularly overriding pages in layers (#23134) 2023-09-12 10:46:35 +01:00
Daniel Roe
574102c523
fix(nuxt): default scanned layer components to priority 0 (#23127) 2023-09-11 19:17:42 +01:00
Daniel Roe
df6a992cd6
fix(nuxt): handle unset spa-loading fallback (#23120) 2023-09-11 13:07:28 +01:00
David Gonzalez
28af761c74
fix(nuxt): load spaLoadingTemplate if file exists (#23048) 2023-09-11 12:02:28 +01:00
Daniel Roe
40601ec15f
fix(nuxt): find parent routes by exact path match (#23040) 2023-09-11 11:50:19 +01:00
Maxime Pauvert
aa73cbeaf9
fix(nuxt): include method when creating useFetch auto key (#23086) 2023-09-11 09:14:01 +01:00
Dmitry Istomin
48fa30af92
fix(nuxt): handle optional params within a path segment (#23070) 2023-09-11 09:13:24 +01:00
Julien Huang
3f9fa008d9
fix(nuxt): exclude data-v attrs from server component props (#23095) 2023-09-10 09:06:11 +01:00
Julien Huang
dfdebf2919
fix(nuxt): don't joinURL with remote sources on NuxtIsland (#23093) 2023-09-08 20:48:42 +01:00
Julien Huang
48fb6e243b
fix(nuxt): scroll to top by default on dynamic routes (#22403) 2023-09-06 20:44:59 +01:00
renovate[bot]
754955545e
chore(deps): update all non-major dependencies (main) (#22866)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-09-05 12:27:41 +01:00
Saman
beb7410777
fix(nuxt): always use increment for id with client side islands (#22975) 2023-09-05 11:27:00 +01:00
Harlan Wilton
19145386e3
fix(nuxt): resolve head instance from Nuxt app (#22973) 2023-09-05 11:25:46 +01:00
Daniel Roe
1a08079710
fix(nuxt): use destr in more places over JSON.parse (#22997) 2023-09-05 09:42:16 +01:00
Joaquín Sánchez
89c4436ae1
fix(nuxt): load layer plugins before project plugins (#22889) 2023-09-04 23:41:51 +01:00
Daniel Roe
4e98ac1746
perf(nuxt): decrease default bundle size (#22999) 2023-09-04 22:30:24 +01:00
Daniel Roe
8ced37bc8b
fix(nuxt): improve types within plugin templates (#22998) 2023-09-04 16:44:23 +01:00
Daniel Roe
5f176b1a96
fix(nuxt): render inlined ssr styles before stylesheets (#22986) 2023-09-04 16:43:50 +01:00
Harlan Wilton
421cab1adf
perf(nuxt): prevent head dom from rendering twice (#22974) 2023-09-04 09:12:56 +01:00
Harlan Wilton
4e05650cde
fix(nuxt): unpause dom updates on error (#22945) 2023-09-01 15:00:20 +01:00
Alex Liu
2d46971162
fix(nuxt): ensure middleware is processed when returning true (#22905) 2023-08-31 10:19:26 +01:00
Daniel Roe
6036e9d6a2
fix(kit): respect priority when registering components dirs (#22882) 2023-08-29 23:06:41 +01:00
Daniel Roe
6198a11514
fix(nuxt): render server components when ssr: false (#22869) 2023-08-28 17:46:49 +01:00
Maik Kowol
a256c87406
fix(nuxt): ensure typed layout prop persists through build (#22855) 2023-08-27 20:44:43 +01:00
Joaquín Sánchez
424dc8d7c0
fix(nuxt): exclude resolved vite virtual modules prefix (#22834) 2023-08-26 15:45:17 +01:00
Daniel Roe
9bee320c7a
fix(nuxt): fully resolve unctx where possible (#22811) 2023-08-25 14:57:25 +01:00
Daniel Roe
a352d59a58
fix(nuxt): default spaLoadingTemplate to false (#22798) 2023-08-25 13:26:23 +01:00
Daniel Roe
54a6eab406
feat(kit,nuxt): respect nuxt ignore patterns in nitro (#22808) 2023-08-25 13:08:38 +01:00
Daniel Roe
53f7c1dfaa
refactor(nuxt): import useNitroApp from subpath (#22785) 2023-08-24 13:45:24 +01:00
Daniel Roe
b5ce892864
fix(nuxt): respect ignorelist when scanning auto-imports (#22782) 2023-08-24 13:42:15 +01:00
Daniel Roe
23723305da
feat(schema): support setting hidden sourcemaps (#22787) 2023-08-24 13:06:44 +01:00
Jongmin Yoon
6f7d86be78
fix(nuxt): recreate asyncData when immediate is disabled (#20980) 2023-08-24 13:06:29 +01:00
Daniel Roe
29f4eeff69
feat(nuxt): add support for routeRules defined within pages (#20391) 2023-08-23 21:38:17 +01:00
xxxhussein
427e64d175
fix(nuxt): add exclude paths to nitro tsconfig.server.json (#22768) 2023-08-23 21:36:33 +01:00
Mihailo Bursac
e94b30d314
perf(nuxt): reduce multiple calls to .toLowerCase() (#22743) 2023-08-23 17:58:10 +01:00
Julien Huang
aa37de48f7
fix(nuxt): warn when ignoring duplicate island/server component (#22709) 2023-08-23 16:23:17 +01:00
pooya parsa
a2f2a4748e
feat(nuxt): upgrade nitro + reduce node-specific usage (#22515)
Co-authored-by: Heb <xsh4k3@gmail.com>
2023-08-23 08:30:53 +01:00
Eduardo San Martin Morote
f0cc923609
fix(nuxt): correct revive payload data type (#22667) 2023-08-16 16:16:06 +02:00
Harlan Wilton
28e4cc298c
fix(nuxt): remove experimental hash hydration (#22648) 2023-08-16 10:25:07 +02:00
Daniel Roe
4be2ffe4aa
fix(nuxt): don't prompt to install packages in CI (#22636) 2023-08-14 22:04:47 +01:00
Harlan Wilton
d50a416304
feat(nuxt): add experimental.headNext unhead integration (#22620) 2023-08-14 20:33:00 +01:00
Daniel Roe
bb83ab5b3f
fix(nuxt): use relative paths when augmenting types (#22633) 2023-08-14 18:07:17 +01:00
Damian Głowala
b5b2b47feb
feat(nuxt): make app.rootId optional (#22528) 2023-08-12 08:19:36 +01:00
Daniel Roe
1a61cb22ec
fix(nuxt): unsub from hooks when unmounting indicator (#22592) 2023-08-11 13:15:02 +01:00
Harlan Wilton
89ad88bd38
fix(nuxt): trigger immediate DOM update on page:finish (#22566) 2023-08-11 11:24:23 +01:00
Daniel Roe
99375d688c
fix(nuxt): provide fallback route (#22580) 2023-08-10 13:36:38 +01:00
Daniel Roe
b2cea4927e
feat(nuxt): allow experimental global: 'sync' components (#22558) 2023-08-09 12:19:00 +01:00
Lehoczky Zoltán
e373fa7d68
feat(nuxt): warn on external webpack/nitro/postcss config (#22521) 2023-08-08 12:33:10 +01:00
pooya parsa
554f868bce
feat(nuxt): experimental native async context support (#20918)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-08-08 00:57:35 +02:00
Daniel Roe
9c5b9b7d53
fix(nuxt): enable hmr of app.config.ts files (#22494) 2023-08-07 22:23:31 +00:00
Daniel Roe
b5c9a81d68
feat(nuxt): resolve unresolved paths within node_modules (#22478) 2023-08-07 23:05:29 +01:00
Lucas Vargas
ffd0223583
feat(vite,webpack): tree-shakable import.meta.* build flags (#22428) 2023-08-07 23:03:40 +01:00
Daniel Roe
305d6de030
feat(nuxt): use build plugin to access nuxt route injection (#21585) 2023-08-07 14:19:48 +01:00
Daniel Roe
f4ee12e6ba
fix(nuxt): resolve type import paths (#22476) 2023-08-07 14:19:32 +01:00
Daniel Roe
ae8314b236
chore: refresh lockfile (#22518) 2023-08-07 14:03:41 +01:00
Daniel Roe
8eefb65489 chore: remove unused import 2023-08-05 14:27:06 +01:00
Daniel Roe
14bf2b02f9 fix(nuxt): remove unused normalize call 2023-08-05 09:42:55 +01:00
Daniel Roe
9b0d371b01 fix(nuxt): use internal:nuxt namespace 2023-08-04 08:54:09 +01:00
Daniel Roe
3722325220
perf(nuxt): use LRU prerender cache and limit cached items (#22465) 2023-08-04 08:47:42 +01:00
Peter Graugaard
a4e58bc352
fix(nuxt): correctly update object cookies in useCookie (#22474) 2023-08-03 17:33:34 +01:00
Harlan Wilton
ac93558aa6
fix(nuxt): broken capo.js injectHead usage (#22447) 2023-08-03 07:15:43 +01:00
MiniDigger | Martin
7489b7d7cc
fix(nuxt): print name of missing island component (#22440) 2023-08-02 11:17:27 +01:00
Harlan Wilton
a49ce7f494
perf(nuxt): experimental support of capo.js head tag order (#22431) 2023-08-01 20:47:31 +01:00
anhao
17461fb03b
fix(nuxt): support uppercase route methods in useFetch (#22418) 2023-07-31 23:56:37 +01:00
Daniel Roe
0d9a0b7538 fix(nuxt): name is an optional prop for <NuxtLayout> 2023-07-31 13:22:22 +01:00
Daniel Roe
1b1f194e64
refactor(nuxt): add additional flag to enable remote sources (#22409) 2023-07-31 13:01:50 +01:00
Daniel Roe
dad633b658
perf(nuxt): render css/inline css higher than resource hints (#21793) 2023-07-31 12:11:18 +01:00
Daniel Roe
5926bbeff8
feat(nuxt): allow 'lazy' (non-blocking) server components (#21918) 2023-07-31 09:51:09 +01:00
Damian Głowala
0991e885fd
feat(nuxt): autocomplete layouts in setPageLayout/<NuxtLayout> (#22362) 2023-07-31 09:50:55 +01:00
Julien Huang
0f839dd723
feat(nuxt): environment-specific plugin execution for islands (#20726) 2023-07-30 22:36:11 +01:00
Julien Huang
ffc4e798cd
feat(nuxt): allow remote sources for islands (#21592) 2023-07-30 22:00:41 +01:00
Jean-Pierre Carvalho
620097241a
feat(nuxt): auto-install @nuxt/webpack-builder when needed (#21747) 2023-07-30 21:25:00 +01:00
Joaquín Sánchez
2df9a4b9db
fix(nuxt): test watch paths against all layer srcDirs (#22307) 2023-07-30 19:47:29 +01:00
Harlan Wilton
9b09b4d112
feat(nuxt): render all head tags on server with unhead (#22179) 2023-07-30 19:46:16 +01:00
Daniel Roe
a2b5d31270
perf(nuxt): write templates in single sync step + improve logs (#22384) 2023-07-30 17:14:42 +01:00
Anthony Fu
c5f94be5d1
feat(nuxt): expose filtered templates in app:templatesGenerated hook (#21935) 2023-07-30 12:41:01 +01:00
Daniel Roe
2f734df9b5
fix(nuxt): disallow redirects to more script protocols (#22366)
Co-authored-by: Damian Głowala <48835293+DamianGlowala@users.noreply.github.com>
2023-07-30 11:09:16 +01:00
Prashant Palikhe
2616aadda6
feat(nuxt): allow dynamic scrollToTop page meta (#21741) 2023-07-30 11:07:01 +01:00
Daniel Roe
257cb3c8a0
chore(deps): bump typescript/untyped versions (#22340) 2023-07-30 10:16:13 +01:00
OhB00
ae8a2fb521
fix(nuxt): use computed path value for useFetch hash (#22378) 2023-07-29 06:23:08 +02:00
Daniel Roe
e2c7edd479
fix(nuxt): pass (and handle) relative paths in builder:watch (#22333) 2023-07-26 11:16:01 +02:00
Anthony Fu
e3437c67d6
fix(nuxt): components auto-import for JSX (#22330) 2023-07-26 05:30:44 +01:00
Daniel Roe
03fbd30d1c
fix(nuxt): allow validate return typing to be either error or boolean (#22323) 2023-07-25 16:09:41 +00:00
Julien Huang
2e6c4519cf
fix(nuxt): bind createClientOnly render function to ctx (#22289) 2023-07-24 09:00:31 +01:00
Maik Kowol
7046930a67
fix(nuxt): add overloads for asyncData generic + default (#22258) 2023-07-23 09:24:54 +01:00
Daniel Roe
429d3656e9
fix(nuxt): access resolved scrollBehaviorType (#22264) 2023-07-21 10:17:07 +01:00
Rudolf Byker
9742bffac2
fix(nuxt): await prerender:routes hook (#22247) 2023-07-20 14:22:10 +01:00
Lucas Vargas
a2552c0191 feat(nuxt): smooth scroll behavior option (#21948) 2023-07-20 09:54:03 +01:00
Bogdan Kostyuk
bea5ec35fb feat(nuxt): polyfill idle callback utils (#21863) 2023-07-20 09:53:29 +01:00
Daniel Roe
0f16cd6124
perf(nuxt,schema): do not watch buildDir and node_modules (#22214) 2023-07-19 15:43:28 +01:00
Daniel Roe
5b409f8579
fix(nuxt): avoid premature hydration when using async layouts (#22198) 2023-07-19 07:55:53 +01:00
Daniel Roe
449a01526a
fix(nuxt): ensure we only increment hydrating count once (#22200) 2023-07-18 16:21:53 +01:00
Anthony Fu
f6b64f6a65
fix(nuxt): resolve race condition regenerating auto imports (#22201) 2023-07-18 16:20:06 +01:00
Julien Huang
f4ec04f520
fix(nuxt): add baseURL to island fetch requests (#22009) 2023-07-18 16:07:35 +01:00
Alexander Lichter
4b6f3e1ba1
fix(nuxt): work around payload extraction issue (#22162)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-07-18 13:31:35 +02:00
Daniel Roe
b8a282e115
fix(nuxt): don't redirect if initial path has trailing slash (#22192) 2023-07-18 11:03:14 +01:00
Alexander Lichter
fed5868184
fix(core): correctly use toLowerCase for possible moduleResolution (#22160) 2023-07-16 00:48:03 +02:00
云游君
e3553a36f9
fix(nuxt): skip scanning components that do not produce a name (#22074) 2023-07-14 14:50:14 +01:00
Jianqi Pan
988e75bbc7
fix(nuxt): skip view transitions where there is no route change (#22140) 2023-07-14 14:49:57 +01:00
Daniel Roe
a07cfb8663
refactor(cli,schema): add bundler module resolution flag (#22142) 2023-07-14 14:46:40 +01:00
Daniel Roe
e9dac76348
fix(nuxt): add pages in correct hook when generating (#22088) 2023-07-12 08:26:52 +01:00
Daniel Roe
dcef9d94cd
perf(nuxt): prepopulate island payloads from rendered html (#22049)
Co-authored-by: Julien Huang <julien.huang@outlook.fr>
2023-07-12 07:28:22 +01:00
Daniel Roe
74c11dc662
perf(nuxt): use getters when constructing reactive routes (#21957) 2023-07-05 14:33:12 +02:00
Daniel Roe
d0dde6426f
fix(nuxt): preserve old vnode when leaving nested route (#21823) 2023-07-05 12:39:39 +02:00
Julien Huang
52a427d583
fix(nuxt): use $fetch.raw in dev client mode for islands (#21904) 2023-07-05 11:48:01 +02:00
Anthony Fu
28e91a7aad
fix(nuxt): regenerate imports after template (#21934) 2023-07-05 11:25:21 +02:00
ChronicStone
fd2b36a64d
fix(nuxt): support custom route name meta with typedPages (#21659) 2023-07-04 06:24:50 +01:00
Daniel Roe
435ac87961
perf(nuxt): allow hmr for server components in dev mode (#21916) 2023-07-04 05:21:27 +01:00
Julien Huang
9f5130d06b
fix(nuxt): stop loading indicator on navigation failure (#21751) 2023-07-03 12:14:17 +01:00
Daniel Roe
87e01ccf0e
fix(nuxt): handle injecting multiple entry ids for styles (#21864) 2023-06-30 05:25:43 +01:00
Daniel Roe
669e9bcf2d
fix(nuxt): ensure static presets equivalent to nuxi generate (#21860) 2023-06-29 10:14:35 +01:00
Julien Huang
cc4cf68ed4
perf(nuxt): don't run island transform plugin if disabled (#21844) 2023-06-28 17:44:43 +01:00
renovate[bot]
07a0e9d412
chore(deps): update all non-major dependencies (main) (#21833)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-06-28 15:43:04 +01:00
Daniel Roe
b108b1ee70
fix(nuxt): improve default prerender behaviour (#21817) 2023-06-28 15:17:19 +01:00
Daniel Roe
e023c06353
fix(nuxt, vite): do not use cjs utils to resolve/alias vue (#21837) 2023-06-28 14:49:50 +01:00
Daniel Roe
489b088836
fix(nuxt): only redirect if path is not the same as initial url (#21815) 2023-06-27 11:15:35 +01:00
Daniel Roe
9c8746f2a6
chore: prune internal unused code and exports (#21809) 2023-06-27 10:38:40 +01:00
Daniel Roe
4a7134f9b4
fix(nuxt): use starting index when transforming islands (#21795) 2023-06-26 19:32:02 +01:00
Anthony Fu
3550893227
fix(nuxt): support importing types from #imports (#21796) 2023-06-26 16:53:29 +01:00
Daniel Roe
4cc9a7135d
fix(nuxt): inline global css with ssr: false route rule (#21763) 2023-06-25 22:50:42 +01:00
Daniel Roe
5b8370414a
fix(nuxt): augment nitro config within server context as well (#21724) 2023-06-25 17:40:53 +01:00
Daniel Roe
1cd48cbef9
fix(nuxt): escape colons in page paths (#21731) 2023-06-25 17:40:30 +01:00
Daniel Roe
c72bc95473
fix(nuxt): only remove one item from middleware (#21730) 2023-06-25 17:40:12 +01:00
Daniel Roe
6b8cb97d54
fix(nuxt): remove path from SPA payload (#21732) 2023-06-25 17:38:51 +01:00
Daniel Roe
068ab19aab
fix(nuxt): respect false to disable spa loading template (#21739) 2023-06-25 17:38:31 +01:00
Daniel Roe
88bc32d42a
fix(nuxt): proxy headers to islands + returned prerender hints (#21740) 2023-06-25 17:38:15 +01:00
Daniel Roe
789c8bfa95
fix(nuxt): use esbuild/acorn instead of typescript dep (#21729) 2023-06-24 00:01:17 +01:00
Anthony Fu
adb1c122a7
fix(nuxt): fix error on layout switching (#21450)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-06-23 11:02:01 +01:00
Daniel Roe
dd5dff37d5
fix(nuxt,schema): prefer unknown rather than any for signatures (#21700) 2023-06-22 14:14:21 +01:00
Daniel Roe
e00beddad6
fix(nuxt): add aliases and augmentations for nitro context (#21680) 2023-06-22 11:49:14 +01:00
Daniel Roe
14a7d95139
fix(nuxt): use static nitro build if possible (#21655) 2023-06-22 11:00:50 +01:00
Daniel Roe
be3f6f7018
feat(nuxt): update devdependency nitropack to v2.5.1 (#21696)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-22 10:38:26 +01:00
Daniel Roe
bd34a8c158
fix(nuxt): do not embed error path in payload (#21671) 2023-06-21 11:04:44 +01:00
Daniel Roe
c3c56c14ab
fix(nuxt): guard res.end() calls with check if event is handled (#21665) 2023-06-21 07:07:02 +01:00
c-schwan
5460873161
fix(nuxt): move to @typescript-eslint/typescript-estree (#21664) 2023-06-20 22:01:31 +01:00
Daniel Roe
c66c82e6a0
feat(nuxt): allow configuring spa loading indicator (#21640) 2023-06-20 19:55:20 +01:00
Daniel Roe
343a46d5f9
fix(nuxt): inline css directly in root component (#21573) 2023-06-20 19:28:44 +01:00
Israel Ortuño
91ebcd7ee9
fix(nuxt): scroll to top in nested routes (#21657) 2023-06-20 17:14:56 +01:00
Daniel Roe
de639e7ef9
fix(nuxt): stop indicator when not changing page component (#21656) 2023-06-20 17:02:59 +01:00
Daniel Roe
b57d841614
fix(nuxt): post non-proxied cookie value via BroadcastChannel (#21653) 2023-06-20 17:02:13 +01:00
Daniel Roe
2abcc16cfb
perf(nuxt): extract and apply plugin order at build time (#21611) 2023-06-20 00:00:03 +01:00
Daniel Roe
bb4ed5e406
fix(nuxi): add back default baseUrl in tsconfig.json (#21632) 2023-06-19 23:29:09 +01:00
Daniel Roe
3fd6c179e4
fix(nuxt): replace : in rendered server components (for win) (#21645) 2023-06-19 23:06:46 +01:00
Daniel Roe
0e575ad5ab
feat(nuxt): expose useNuxtApp to window for convenience (#21636) 2023-06-19 17:17:15 +01:00
Nozomu Ikuta
634829a08c
fix(nuxt): improve warning for invalid children of <Title> (#21613) 2023-06-17 22:37:05 +01:00
Daniel Roe
2a42a5f807
fix(nuxt): ensure prerendered components are treated as islands (#21583) 2023-06-16 15:47:59 +01:00
Quentin
7e74e7c2fc
feat(nuxt): start loading indicator state with middleware (#21003) 2023-06-16 15:47:20 +01:00
Rodrigo Pimentel
b37ec72f8a
feat(nuxt): emit error in ssr-error event (#21547) 2023-06-14 19:44:43 +01:00
Nicolas Payot
187230b0c5
fix(nuxt): abort navigation when updating window.location (#21521) 2023-06-14 15:37:21 +01:00
Daniel Roe
19fc2828fb
perf(nuxt): use prerendered islands to serialise/revive payload (#21461) 2023-06-14 10:09:27 +01:00
Daniel Roe
05a8c2d955
fix(nuxt): respect query/hash for external routes in navigateTo (#21500) 2023-06-11 22:27:02 +01:00
Daniel Roe
03186d6d44
fix(nuxt): don't disable vue endpoint in dev mode (#21524) 2023-06-11 21:41:22 +01:00
Julien Huang
41d34ca67d
feat(nuxt): allow accessing NuxtLayout ref via layoutRef (#19465) 2023-06-10 23:17:14 +01:00
Julien Huang
319935fc95
feat(nuxt): allow accessing NuxtPage ref via pageRef (#19403) 2023-06-10 23:13:33 +01:00
Edward Hibbert
13aae836e8 perf(nuxt): import error component synchronously (#21406) 2023-06-10 10:11:26 +01:00
Daniel Roe
acdc28a99e
fix(nuxi,nuxt): remove baseUrl + use relative paths in tsconfig (#21081) 2023-06-09 23:19:42 +01:00
Nicolas Payot
c884a95f0f
feat(nuxt): return status from useAsyncData (#21045) 2023-06-09 22:38:14 +01:00
Jongmin Yoon
31a1b98f3f
feat(nuxt): provide clearNuxtState composable (#21409) 2023-06-09 22:22:21 +01:00
Anthony Fu
02ba4b30ac
fix(nuxt): fix typo on nitro.autoImport option (#21485) 2023-06-09 10:15:33 +01:00
Julien Huang
ed5732196d
fix(nuxt): prefix server component ids to avoid collisions (#21472) 2023-06-08 21:55:21 +01:00
Wilson Pinto
5a25fca475
fix(nuxt): add missing vue types (#21445) 2023-06-07 20:49:19 +01:00
Wilson Pinto
c4e5ac83bf
feat(nuxt): add open option in navigateTo helper (#21333) 2023-06-07 20:27:00 +01:00
pooya parsa
05f3decfa9
fix(nuxt): avoid early returning renderer with empty response (#21439) 2023-06-07 14:11:59 +01:00
Daniel Roe
7710ed30fa
fix(nuxt): skip vue render when redirecting (#21412) 2023-06-07 13:18:50 +01:00
Anthony Fu
6d59a027c7
perf(nuxt): mark define functions as side-effect free at source (#21434) 2023-06-07 11:11:24 +01:00
John Jenkins
6bb0a849fe
feat(nuxt): add renderResult to app:rendered (#18610) 2023-06-07 10:25:05 +01:00
Asher White
0bc38b7e19
fix(nuxt): replace BigInt literal with BigInt constructor (#21427) 2023-06-07 09:57:44 +01:00
Alexander B
a31899af65
feat(nuxt): sync useCookie state between tabs (#20970) 2023-06-06 23:21:51 +01:00
Daniel Roe
370b84e909
fix(nuxt): handle page rendering on different path (#21408) 2023-06-06 22:47:32 +01:00
Daniel Roe
ec72066f91
fix(nuxt): key distinct pages differently for legacy asyncData (#21263) 2023-06-05 19:36:26 +01:00
Daniel Roe
05b577e550
fix(nuxt): support usage of std-env in runtime code (#21372) 2023-06-05 19:23:38 +01:00
Daniel Roe
a302fe8062
perf(nuxt): avoid watching nested paths (#21256) 2023-05-31 14:11:46 +01:00
Daniel Roe
c9adf700a4
fix(nuxt): handle serialising empty bigint (#21257)
Co-authored-by: lorado <eugen.sacharow@gmx.de>
2023-05-30 13:53:04 +02:00
Daniel Roe
6eacad03b8
fix(nuxt): resolve modules relative to modulesDir (#21082) 2023-05-27 11:24:21 -05:00
Louis Haftmann
92bc999d0e
fix(nuxt): omit Set-Cookie header if value is null (#21072) 2023-05-26 14:42:12 -05:00
Daniel Roe
75cd6b7894
fix(nuxt): normalize windows paths in granular watcher (#21066) 2023-05-25 16:38:34 -05:00
Alexander
e50cabfed1
fix(nuxt): show error page after fatal abortNavigation (#21047) 2023-05-25 13:29:22 -05:00
Lucie
a672cd7a42
fix(nuxt): await nuxt ready state before refreshNuxtData (#21008) 2023-05-23 00:09:05 +01:00
Julien Huang
7cc7297ea7
fix(nuxt): treeshake <DevOnly> with webpack (#21013)
Co-authored-by: Inesh Bose <56732164+ineshbose@users.noreply.github.com>
2023-05-22 21:29:59 +01:00
Daniel Roe
c37ebab1ef
perf(nuxt): use .test and hoist regexps where possible (#21011) 2023-05-22 21:25:42 +01:00
Daniel Roe
f94984e5cb
fix(nuxt): use simple incrementing id on client (#20992) 2023-05-22 21:25:04 +01:00
Daniel Roe
397c54c9db fix(nuxt): add type support for router composables without pages/ integration 2023-05-22 19:42:25 +01:00
Daniel Roe
3ed0d0ffc1
fix(nuxt): scan component dirs case-sensitively (#20995) 2023-05-22 11:04:02 +01:00
Haruaki OTAKE
bb28819d3c
fix(nuxt): fix useLazyFetch types (#20989) 2023-05-22 08:25:50 +01:00
Julien Huang
2d680455ae
fix(nuxt): skip middleware for islands components (#20924) 2023-05-20 23:26:29 +01:00
Haruaki OTAKE
b88aab049f
fix(nuxt): use default type for initial value for composables (#20968) 2023-05-20 23:19:50 +01:00
Daniel Roe
957a75a7e1
fix(nuxt): exclude plugin declaration from non-existent files (#20974) 2023-05-20 23:14:52 +01:00
Daniel Roe
25c150136d
fix(nuxt): don't match partial component names with prefix (#20939) 2023-05-19 08:11:46 +01:00
Daniel Roe
dda338a1dc
fix(nuxt): resolve layer assets in relation to layer directory (#20932) 2023-05-18 15:10:12 +01:00
Daniel Roe
9dea9bc1b2
perf(nuxt): use granular watcher to avoid crawling ignored dirs (#20836) 2023-05-18 14:44:24 +01:00
Daniel Roe
2cdc22a746
fix(nuxt): don't refresh when hydrating when data is present (#20916) 2023-05-17 14:23:52 +01:00
Daniel Roe
d2e14b678b
fix(nuxt): prioritise vue app context when available (#20910) 2023-05-17 13:26:16 +01:00
Gypsophyllite
f39eb6e981
fix(nuxt): infer useFetch method when generic is passed (#20797) 2023-05-17 12:56:47 +01:00
Daniel Roe
53bd8a44ec
fix(nuxt): allow island renders without / route (#20894) 2023-05-16 22:50:55 +01:00
Daniel Roe
a0583ba96e
fix(nuxt): pass from + savedPosition to first scrollBehavior (#20859) 2023-05-16 10:55:13 +01:00
Anthony Fu
433b52930a
feat(nuxt): support parallel plugins (#20460) 2023-05-16 09:50:43 +01:00
Julien Huang
70c5ec86d2
feat(nuxt): full scoped slots support for server components (#20284) 2023-05-15 23:43:53 +01:00
Daniel Roe
038c84c4b1
fix(nuxt): add types for webpack/vite environments (#20749) 2023-05-15 17:17:39 +01:00
Daniel Roe
33e2bd3dc0
feat(nuxt): support separate server tsconfig (#20559) 2023-05-15 16:36:30 +01:00
Alexander
e9b2f6286c
fix(nuxt): stop loading indicator on vue errors (#20738) 2023-05-15 16:34:20 +01:00
Dario Ferderber
ec9dcdb093
fix(nuxt): allow pages:extend to enable pages module (#20806) 2023-05-15 13:47:30 +01:00
白雾三语
ce84c9b44f
fix(nuxt): ensure all dir parts are present in component name (#20779) 2023-05-15 13:34:04 +01:00
Inesh Bose
1f30cf18e3
fix(nuxt): get fallback for <DevOnly> from parsed html (#20840) 2023-05-15 13:33:46 +01:00
Julien Huang
603e7e7fb1
feat(nuxt): allow keeping fallback for NuxtClientFallback (#20336) 2023-05-14 22:22:54 +01:00
Inesh Bose
d077c10c41
feat(nuxt): allow fallback production content in <DevOnly> (#20817) 2023-05-13 23:32:31 +01:00
Julien Huang
900ee6dc8b
fix(nuxt): transform client fallbacks directly on SFCs (#20835) 2023-05-13 22:39:50 +01:00
Sébastien Chopin
6a052b583b
feat(nuxt): add useRequestURL helper (#20765) 2023-05-13 22:09:37 +01:00
Daniel Roe
7f0fe2fbe7
fix(nuxt): allow serialising undefined refs (#20828) 2023-05-13 20:49:05 +01:00
Julien Huang
90ab1b50f4
fix(nuxt): always inline styles for server/island components (#20599) 2023-05-11 23:33:17 +01:00
Lehoczky Zoltán
6b7197fd8c
fix(nuxt): avoid destructuring error prop (works around upstream bug) (#20795) 2023-05-11 22:54:07 +01:00
Daniel Roe
5e74fe4e0b
fix(nuxt): enable suspensible behaviour for nested pages (#20777) 2023-05-11 18:57:18 +01:00
Daniel Roe
0258acdc8a fix(nuxt): remove webstorm compatibility augmentation 2023-05-11 15:28:03 +01:00
Daniel Roe
93ba5e7cd2
feat(nuxt): use runWithContext within callWithNuxt (#20775) 2023-05-11 12:39:08 +01:00
Daniel Roe
f170075c79
feat(deps): update vue to v3.3 (#20478) 2023-05-11 09:37:32 +01:00
Daniel Roe
53fef72031
fix(nuxt): deduplicate global components before registration (#20743) 2023-05-10 13:57:27 +01:00
Julien Huang
018bf125ab
feat(nuxt): add apps to nuxt build-time instance (#20637) 2023-05-09 23:46:03 +01:00
Eduardo San Martin Morote
5781cf1569
feat(nuxt): add experimental typedPages option (#20367) 2023-05-09 18:08:07 +01:00
Daniel Roe
80d7899f49
fix(nuxt): prevent treeshaking hooks with composable names (#20745) 2023-05-09 17:47:46 +01:00
Daniel Roe
eb8e9169d6
fix(nuxt): generate empty sourcemaps for wrappers (#20744) 2023-05-09 16:57:23 +01:00
Daniel Roe
1da25c8069
fix(nuxt): allow resolving client nuxt app to singleton (#20639) 2023-05-09 11:22:38 +01:00
Anthony Fu
1f38863c06
fix(nuxt, vite): ignore nuxt_component ssr style and isVue (#20679) 2023-05-04 17:19:03 +01:00
Daniel Roe
566fa85fc8
fix(nuxt): run page meta plugin on all pages (and only pages) (#20628)
Co-authored-by: Julien Huang <julien.huang@outlook.fr>
2023-05-03 15:14:12 +01:00
Daniel Roe
da3357449f
feat(nuxt): add nuxtApp.runWithContext (#20608) 2023-05-03 11:02:07 +01:00
Anthony Fu
fb76b3931a
feat(nuxi): allow greater control of nuxi analyze from cli (#20387) 2023-05-02 14:24:11 +01:00
Anthony Fu
84559e84aa
feat(kit): support passing getter to addVitePlugin and addWebpackPlugin (#20525) 2023-05-02 12:17:41 +01:00
Daniel Roe
16bf228437
fix(nuxt): ensure useError is called with nuxt app context (#20585) 2023-05-01 23:55:24 +01:00
renovate[bot]
f3cfb5f630
chore(deps): update all non-major dependencies (main) (#20609)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-05-01 23:46:29 +01:00
Daniel Roe
8b86d39e30
refactor(schema): move runtimeCompiler option out of experimental (#20606) 2023-05-01 17:39:07 +01:00
Daniel Roe
8353e4c66e
feat(nuxt): allow access to components within app (#20604) 2023-05-01 17:35:00 +01:00
Daniel Roe
2c55bb6f84
fix(nuxt): remove internal <FragmentWrapper> (#20607) 2023-05-01 12:56:30 +01:00
Harlan Wilton
d2170b80b9
fix(nuxt): skip payload extraction for island context (#20590) 2023-04-30 10:10:09 +01:00
Anthony Fu
d2fc6ae614
fix(nuxt): properly handle query for component wrapper (#20591) 2023-04-30 10:08:08 +01:00
Anthony Fu
a13b18eddf
fix(nuxt): add @nuxt/devtools module before core modules (#20595) 2023-04-30 10:06:43 +01:00
Daniel Roe
6ef2e1caea
fix(nuxt): remove backwards-compatible runtimeConfig proxy (#20340) 2023-04-29 23:38:40 +01:00
Stefan Milosevic
fac160c79f
feat(nuxt): auto import 'watchPostEffect' and 'watchSyncEffect' from vue (#20279) 2023-04-29 23:33:29 +01:00
Daniel Roe
e1e3d2cd8e
feat(nuxt): add scoped helper for clearing error within boundary (#20508) 2023-04-29 23:32:29 +01:00
Daniel Roe
f73bb1de0a
fix(nuxt): return RenderResponse for redirects (#20496) 2023-04-28 11:18:03 +01:00
Anthony Fu
98b20c45c8
fix(nuxt): transform #components imports into direct component imports (#20547)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-04-28 10:14:42 +01:00
Julien Huang
ecf41537ca
fix(nuxt): throw errors when running legacy asyncData (#20535) 2023-04-27 11:51:33 +01:00
Daniel Roe
65a8f4eb3e
fix(nuxt): restrict access to single renderer outside of test/rootDir (#20543) 2023-04-27 11:31:52 +01:00
Daniel Roe
197de3ecbb
fix(nuxt): call app:error in SSR before rendering error page (#20511) 2023-04-26 14:36:59 +01:00
Daniel Roe
dd0d13d425
fix(nuxt): improved typing support for app config (#20526) 2023-04-26 14:30:05 +01:00
Daniel Roe
7ab476b1f8
fix(nuxt): use callAsync for executing hooks with context (#20510) 2023-04-26 07:15:22 +01:00
Daniel Roe
200cb2787e
fix(nuxt): throw 404 when accessing /__nuxt_error directly (#20497) 2023-04-25 15:47:02 +01:00
Andrew Luca
ea1c5b2550
fix(nuxt): use event.node.req in cookie utility (#20474) 2023-04-24 21:25:36 +01:00
Daniel Roe
f1ded44e80 fix(nuxt): add basic typings for <ClientOnly> 2023-04-20 22:56:22 +01:00
Julien Huang
e8e01bac13
fix(nuxt): use key to force server component re-rendering (#19911) 2023-04-20 22:41:20 +01:00
Daniel Roe
8b7df05ff0
fix(nuxt): don't call timeEnd unless we're debugging (#20424) 2023-04-20 22:18:32 +01:00
Daniel Roe
12f347a928
fix(nuxt): clone app config on server (#20278) 2023-04-20 13:33:45 +01:00
Daniel Roe
a086af9692
perf: allow using @parcel/watcher for dev watcher (#20179) 2023-04-19 22:02:52 +01:00
Daniel Roe
c7be5b4ec6
refactor(nuxt): rework and use isJS and isVue utilities consistently (#20344) 2023-04-19 19:17:36 +01:00
Harlan Wilton
5febd46d23
fix(core,kit): ensure module transpilation paths are dirs (#20396) 2023-04-19 19:05:46 +01:00
Preet Mishra
48b48dec00
fix(nuxt): handle pages with no content and log warning (#20373) 2023-04-19 17:58:43 +01:00
Daniel Roe
4ab4ac13df
fix(nuxt): swap preloads for json/js payloads (#20375) 2023-04-19 10:18:02 +01:00
Daniel Roe
8aa86559c8
fix(nuxt): mark useRequestHeaders keys as optional (#20286) 2023-04-15 15:43:19 +01:00
Daniel Roe
ac2e466175
fix(nuxt): provide more helpful error when instance unavailable (#20289) 2023-04-15 14:47:34 +01:00
Daniel Roe
3754591257
fix(nuxt): return type directly if not picking asyncData (#20288) 2023-04-15 11:03:09 +01:00
Daniel Roe
d0c8e7fb4a
fix(nuxt): generate hi-res sourcemaps (#20280) 2023-04-14 18:21:08 +01:00
Daniel Roe
f366ab4eb8
chore: remove @ts-ignore and fix some issues (#20273) 2023-04-14 13:53:21 +01:00
Daniel Roe
53db8125f1
perf(nuxt): share lazy component definitions (#20259) 2023-04-13 20:08:08 +01:00
Daniel Roe
9110d41628
fix(nuxt): do not redirect when vue-router normalises url (#20247) 2023-04-13 03:14:44 -07:00
Daniel Roe
b011d3d76f
fix(nuxt): improve handling of redirects within middleware (#20244) 2023-04-13 02:58:25 -07:00
Daniel Roe
e5d1d29b1d
fix(nuxt): add missing imports to <NuxtClientFallback> (#20237) 2023-04-12 10:10:18 -07:00
Daniel Roe
22f1f71e3e
fix(nuxt): mark entire payload as reactive (#20218) 2023-04-12 01:42:45 -07:00
Daniel Roe
fe2800540c
fix(nuxt): set config on ssrContext in spa renderer (#20216) 2023-04-11 15:33:21 -07:00
Sacha Stafyniak
811bf28068
feat(nuxt): add chokidar watcher debug timing (#20176) 2023-04-11 07:19:45 -07:00
Julien Huang
163913a744
feat(nuxt): add experimentalNoScripts route rule (#19805) 2023-04-11 07:17:44 -07:00
Daniel Roe
4285092879
feat(nuxt): support object-syntax plugins (#20003) 2023-04-11 04:58:43 -07:00
Daniel Roe
d6c3c2439a
feat(nuxt): support async transform of object properties (#20182) 2023-04-10 14:57:13 -07:00
Harlan Wilton
33f3ae4963
fix(nuxt): default nitro autoImports to imports.autoImport (#20180) 2023-04-10 19:11:07 +01:00
Daniel Roe
e99f923aa5
feat(nuxt): add experimental View Transitions API support (#20092) 2023-04-10 04:33:14 -07:00
Daniel Roe
9878c5b6e4
style: enable sort-imports eslint rule (#20133) 2023-04-07 09:02:47 -07:00
Anthony Fu
11a9780c80
feat(nuxt): prompt to install devtools when it's enabled (#20126) 2023-04-07 08:34:11 -07:00
xjccc
9fd398216c
fix(nuxi): preview nitro build with custom dir config (#18882) 2023-04-07 06:19:53 -07:00
Daniel Roe
c65c5a8e79
fix(nuxt): deprecate old (pre-rc) runtimeConfig (#20082) 2023-04-07 04:36:45 -07:00
Daniel Roe
6ddea42f96
refactor(nuxt): remove #head alias (#20111) 2023-04-07 03:36:41 -07:00
pooya parsa
9e503be0f2
feat(nuxt): experimental option for rich json payloads (#19205)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-04-07 03:34:35 -07:00
cany748
4f0b3c7223
fix(nuxt): add undefined type for useCookie return value 2023-04-07 01:45:44 -07:00
Julien Huang
b068f79fee
fix(nuxt): add key to .client component placeholders (#20093) 2023-04-07 01:31:04 -07:00
Daniel Roe
41bfd55230
fix(nuxt): test all custom app config keys for any (#20105) 2023-04-06 05:33:54 -07:00
Anthony Fu
72ba53efbc
feat(test-utils): allow mounting single component for testing (#5723) 2023-04-06 05:07:22 -07:00
Julien Huang
3fc9a75070
feat(nuxt): support vue runtime compiler (#4762) 2023-04-06 04:51:32 -07:00
Aleksandar Trpkovski
1ae30ba474
fix(nuxt): throw error on protocol relative path in useFetch (#20052) 2023-04-04 15:04:38 -07:00
Daniel Roe
b811742f89
fix(nuxt): add types for globally injected $config object (#20081) 2023-04-04 06:34:39 -07:00
Daniel Roe
bc9c7dcac8
feat(nuxt): respect custom dir.pages in page placeholder (#20079) 2023-04-04 06:18:29 -07:00
Daniel Roe
f40b3e2492
feat(nuxt): support ~/~~/@/@@ aliases within layers (#19986) 2023-04-03 06:18:24 -07:00
Daniel Roe
ee8d3f6ea6
feat(nuxt): support disabling watch with useFetch (#19823) 2023-04-03 05:36:14 -07:00
Daniel Roe
c660b39447
fix(nuxt): disable x-nuxt-no-ssr header by default (#20024) 2023-04-03 03:39:01 -07:00
Daniel Roe
61699f864e
feat(nuxt): warn in dev when useRoute is used in middleware (#20050) 2023-04-03 03:36:17 -07:00
Daniel Roe
d190f743dc
fix(nuxt): end route param tokens manually (#19902) 2023-04-03 02:56:44 -07:00
Daniel Roe
2f8e991b94 chore: fix typo in code comment 2023-04-01 12:12:34 +01:00
Daniel Roe
822202239c
fix(nuxt): sync setResponseStatus signature with h3 (#19987) 2023-03-31 07:02:26 -07:00
Daniel Roe
4ed5d2f872
fix(nuxt): suppress handled errors (#20002) 2023-03-31 02:17:10 -07:00
David Mignot
b31fd4ad34
fix(nuxt): store payloads in cache without trailing slash (#19992) 2023-03-30 05:32:00 -07:00
Daniel Roe
6f6140809d
fix(nuxt): don't override options signature with schema (#19934) 2023-03-28 01:55:20 -07:00
Daniel Roe
0b5ba6c3e9
chore: remove unused TS directive 2023-03-23 14:03:21 +01:00
Daniel Roe
562cef24ca
perf(nuxt): experimentally disable vue server renderer nitro endpoint (#19825) 2023-03-23 09:04:40 +00:00
Harlan Wilton
c6f928d786
fix(nuxt): add missing import in islands template (#19870) 2023-03-22 17:19:26 -07:00
Daniel Roe
e6c1bb57d7
fix(nuxt): use prerender cache for islands (#19822) 2023-03-22 17:12:01 +00:00
Daniel Roe
9d8c230132
fix(nuxt): ignore schema types that eval to any (#19835) 2023-03-22 17:08:27 +00:00
Julien Huang
4671294229
fix(nuxt): directly render server components (#19605) 2023-03-20 14:47:06 -07:00
Mehdi HosseinZade
3a971d0b36
fix(nuxt): observe slot element in custom nuxt-link (#19802) 2023-03-20 14:46:12 -07:00
Daniel Roe
ebd7dcd4ba
fix(nuxt): handle external navigation to api routes (#19829) 2023-03-20 17:15:01 +00:00
Emil Rosenius
11ee3c92b9
fix(nuxt): add temporary augmentation for webstorm (and docs) (#19400)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-03-19 16:22:55 -07:00
Daniel Roe
3055ce35b1
fix(nuxt): use h3 utilities to set response status/code (#19713) 2023-03-19 16:20:04 -07:00
Anthony Fu
ce575b49e3
fix(nuxt): ignore falsy modules (#19684) 2023-03-19 16:16:13 -07:00
Daniel Roe
4ca2dccd38
fix(nuxt): unset context after app is created (#19753) 2023-03-17 19:01:16 +00:00
Daniel Roe
3e58f90914
chore: add internal types for nitro/app (#19745) 2023-03-16 09:27:10 -07:00
Harlan Wilton
7103670acc
fix(nuxt): unpause DOM updates on suspense resolve (#19740) 2023-03-16 07:53:10 -07:00
Daniel Roe
a1691721d4 fix(nuxt): import builder path as file url 2023-03-14 14:24:04 +00:00
Daniel Roe
4b2cb52f8a
fix(nuxt): fix default injection type for plugins (#19669) 2023-03-14 06:08:43 -07:00
Daniel Roe
9d850a2a12
feat(nuxt): add nitro:build:public-assets hook (#19638) 2023-03-14 03:34:55 -07:00
Daniel Roe
0f6276dc6e
fix(nuxt): mark non-augmented NuxtApp properties as unknown (#19643) 2023-03-14 03:09:50 -07:00
pooya parsa
e84ec61eeb
feat(nuxt): support app config for server routes (#19489) 2023-03-14 02:54:59 -07:00
Hyunseung Lee
e42d63a25a
fix(schema): show payloadExtraction warning only when unset (#18516)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-03-13 04:06:43 -07:00
Daniel Roe
ce45590120
refactor(nuxt): let mlly handle search paths (#19635) 2023-03-13 10:14:27 +00:00
Daniel Roe
ea8f78a63a
fix(nuxt): exclude boolean from inline module definitions (#19621) 2023-03-12 15:25:45 -07:00
Daniel Roe
e13e227d06
fix(nuxt): resolve builder using esm syntax (#19608) 2023-03-11 15:11:28 -08:00
Daniel Roe
60b4c48eb4
fix(nuxt,schema): merge custom and resolved app configs (#19602) 2023-03-11 14:53:28 -08:00
Xin Du (Clark)
4de4de1a71
fix(nuxt): improve types for data fetching with transform (#19487) 2023-03-11 14:36:10 -08:00
Daniel Roe
53a2a0fdcb
fix(nuxt): avoid injecting adhoc modules in schema (#19607) 2023-03-11 14:11:48 -08:00
Daniel Roe
b19b35fb67
fix(nuxt): provide node16-style type exports (#18431) 2023-03-11 13:16:01 -08:00
Daniel Roe
e6bbf71fd5
chore: improve internal type safety (#19599) 2023-03-11 18:22:29 +00:00
Harlan Wilton
d2f0b22632
perf(nuxt): tree-shake server composables + prefer server head (#19576) 2023-03-10 08:45:22 -08:00
Daniel Roe
6d79b71588
refactor(kit,nuxi): resolve module paths using node algorithm (#19537) 2023-03-10 06:55:01 -08:00
Harlan Wilton
c91e4d7933
feat(nuxt): add useHeadSafe and remove layer around head imports (#19548) 2023-03-10 00:01:21 -08:00
Daniel Roe
9a5e3e3044
chore(nuxt): update to new hasProtocol options format (#19555) 2023-03-09 18:37:18 +00:00
Daniel Roe
d469740105
fix(nuxt): dedupe payload cache by payload url (#19563) 2023-03-09 18:36:54 +00:00
Daniel Roe
a313f06261
fix(nuxt): only log boot errors on client-side (#19553) 2023-03-09 06:37:39 -08:00
Daniel Roe
9036142b14
feat(nuxt): add watch option and refactor dev server restarting (#19530) 2023-03-09 03:46:08 -08:00
Mehmet
17f080cad1
fix(nuxt): exclude nitro output dir from type checking (#19532) 2023-03-08 13:14:06 -08:00
Julien Huang
1729d2e42f
feat(nuxt): add <NuxtClientFallback> component (#8216) 2023-03-08 13:13:06 -08:00
Harlan Wilton
8732720221
perf(head): drop @vueuse/head dependency (#19519) 2023-03-08 07:32:24 -08:00
Daniel Roe
df3ae8cb4e
feat(nuxt): enable chunk error handling by default (#19086) 2023-03-08 12:17:22 +00:00
Daniel Roe
c2ab76d68e
perf(vite): mark more core functions as side-effect free (#19508) 2023-03-07 14:51:08 -08:00
Harlan Wilton
bb61496e98
feat(nuxt): allow configuring treeshakeable composables (#19383) 2023-03-07 01:30:05 -08:00
Alex Korytskyi
3a73f42d1c
feat(nuxt): support trailingSlashBehavior in defineNuxtLink (#19458) 2023-03-06 23:17:42 -08:00
Alex Liu
ca32852122
feat(nuxt): enable preloading object-syntax routes (#19120) 2023-03-06 03:34:17 -08:00
Daniel Roe
129bb4fa3a
feat(kit,nuxt): add component priority to allow overriding (#19252) 2023-03-06 03:33:40 -08:00
pooya parsa
71225e50c5
feat(nuxt): enable config schema by default (#19172) 2023-03-04 06:39:26 -08:00
Daniel Roe
3681bddfd5
feat(nuxt): auto-register modules in ~/modules (#19394) 2023-03-03 17:52:55 +00:00
Daniel Roe
a420369c90
fix(nuxt): don't print layout warning if page is not ssr (#19434) 2023-03-03 08:47:08 -08:00
Ivan
7131aef820
feat(schema): allow adding page routes without a matching file (#19173) 2023-03-03 06:07:42 -08:00
Stefan
6084f6416b
fix(nuxt): pass transform options to component loader plugin (#19414) 2023-03-03 02:40:24 -08:00