Commit Graph

1271 Commits

Author SHA1 Message Date
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
Xin Du (Clark)
654b9a21d7
fix(schema): update vite import.meta types (#19338) 2023-03-03 02:20:15 -08:00
Lucie
0be8cda77a
fix(nuxt): prevent fallthrough attributes on custom NuxtLink (#19379) 2023-03-02 01:53:46 -08:00
Daniel Roe
d4a75240ac
feat(nuxt): add versions to runtime nuxtApp (#19064) 2023-03-01 07:08:23 -08:00
Inesh Bose
c7eb891e12
fix(nuxt): deprecate scanning directory index plugins (#18418) 2023-03-01 04:08:58 -08:00
Alexander Lichter
639189ca88
fix(nuxt): clear loading indicator on unmount (#19340) 2023-02-28 20:18:47 +01:00
Daniel Roe
32f6cb27b7
perf(nuxt): increase static asset maxAge to 1yr (#19335) 2023-02-28 05:06:31 -08:00
Daniel Roe
503b7acd55
perf(nuxt): don't update manifest in dev mode (#19315) 2023-02-27 11:36:27 -08:00
renovate[bot]
8bfc66d6f7
chore(deps): update all non-major dependencies (main) (#19235)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-02-27 11:02:11 -08:00
Daniel Roe
f16cce8824
fix(nuxt): compatible route object for custom external routes (#19261) 2023-02-27 07:13:14 -08:00
igayamaguchi
9e6fa9f7ba
fix(nuxt): preserve explicit rel attribute on internal link (#19309) 2023-02-27 13:29:57 +01:00
Daniel Roe
7479d469dd
fix(nuxt): log errors thrown when booting the nuxt app (#19187) 2023-02-21 07:06:10 -08:00
Daniel Roe
c4eb4b784c
fix(nuxt): preserve (re)named imports in meta (#19192) 2023-02-21 04:22:12 -08:00
Alex Liu
268cded26c
fix(nuxt): prefetch object-syntax routes with <NuxtLink> (#19144) 2023-02-20 12:31:27 -08:00
Daniel Roe
576ce9ee36 chore: dedupe rollup 2023-02-17 14:13:17 +00:00
renovate[bot]
6858796102
chore(deps): update all non-major dependencies (main) (#19103)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-02-17 06:05:49 -08:00
pooya parsa
15b9386a39
chore: update nitropack and unjs dependencies (#19100)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-02-17 05:38:19 -08:00
Daniel Roe
3190254bbd
fix(nuxt): pass nuxt + workspace paths when importing builder (#19099) 2023-02-16 16:59:24 -08:00
Mathieu Magalhaes
f5a3d7968c
fix(nuxt): respect redirects which differ only by trailing slash (#18593)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-02-16 09:26:15 -08:00
Daniel Roe
af55b9882e fix(nuxt): test generated pathname 2023-02-16 17:16:51 +00:00
Daniel Roe
e9ff34ace4 fix(nuxt): restore previous check on payload url 2023-02-16 16:59:06 +00:00
Daniel Roe
1e8b27f36c
perf(nuxt): don't include side-effects from #components (#19008) 2023-02-16 07:00:40 -08:00
Daniel Roe
7aa35ff958
fix(nuxt): validate no // in path when constructing payload url (#19085) 2023-02-16 06:40:51 -08:00
Nathan Chase
681cfa83fd
perf(nuxt): animate transform rather than width (#19073) 2023-02-16 05:04:09 -08:00
Daniel Roe
7d0ecb5a96
fix(nuxt): show client error if no page matches after validate fails (#18978) 2023-02-16 04:56:14 -08:00
Julien Huang
61cd6b5c71
fix(nuxt): use parser to treeshake client-only declarations (#18951) 2023-02-16 04:47:42 -08:00
Daniel Roe
96b09ea982
feat(nuxt): add experimental app:chunkError hook and reload strategy (#19038) 2023-02-16 04:43:58 -08:00
Daniel Roe
59a1f7bae0
perf(nuxt): allow tree-shaking empty meta from build (#19032) 2023-02-14 14:22:53 -08:00
Daniel Roe
2960aa3426
fix(schema): transpile nuxt/app by default (#19009) 2023-02-14 00:23:12 +00:00
Daniel Roe
4219ff21e9
fix(nuxt): prevent hyphens forming child routes & warn if dupes are detected (#18944) 2023-02-13 22:56:39 +00:00
Xin Du (Clark)
859fbd0add
fix(nitro): ensure ssr error statusCode is a number (#19001) 2023-02-13 22:55:29 +00:00
Daniel Roe
6016aef859
fix(nuxt): expose nuxt/schema subpath for augmentation (#18922) 2023-02-13 22:42:04 +00:00
Lioness100
b25b6c82c7
docs: fix typos (#18976) 2023-02-12 19:16:42 +00:00
pooya parsa
7111b6cf44
fix(nuxt): avoid recursive import in nitro renderer (#18948)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-02-10 16:33:06 +00:00
Daniel Roe
ee2f568fc1 refactor(nuxt): combine imports from same relative path 2023-02-10 10:32:02 +01:00
Daniel Roe
71d67ad47f chore: combine import statements 2023-02-09 09:13:48 +01:00
Daniel Roe
9a035a15c5
refactor(nuxt): within nuxt app, import directly from source file (#18902) 2023-02-08 22:26:41 -08:00
pooya parsa
9845467421
feat(nuxt): upgrade to nitropack 2.2 (#18889) 2023-02-09 07:02:07 +01:00
Julien Huang
113ce71c34
fix(nuxt): use parser to treeshake <ClientOnly> (#8713) 2023-02-08 00:59:57 -08:00
Yasser Lahbibi
e451a9965e
fix(nuxt): don't exclude pnpm layers from nitro esbuild/imports (#9952) 2023-02-07 09:18:47 -08:00
Dany Sluijk
bae73c3650
feat(nuxt): infer useFetch return based on the method (#18526) 2023-02-07 06:01:31 -08:00
Alex Liu
526a78095a
fix(nuxt): defer adding route path to preloaded record (#18862) 2023-02-07 06:01:03 -08:00
Anthony Fu
2677b88f5f
feat(nuxt): support type auto-import (#18859) 2023-02-07 06:00:11 -08:00
Daniel Roe
39747ce095
perf(vite): use stub entry in vite server build when ssr: false (#18782) 2023-02-06 15:25:24 -08:00
renovate[bot]
39b5886a0d
chore(deps): update all non-major dependencies (main) (#18775)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-02-05 04:31:53 -08:00
Julien Huang
bf617c790c
fix(nuxt): treeshake client-only components with placeholders (#8789) 2023-02-04 07:36:03 -08:00
Daniel Roe
2b75414f47
perf(nuxt): cache result of importing styles module (#18734) 2023-02-03 04:50:17 -08:00
Daniel Roe
cb0860ba6c
fix(nuxt): make onNuxtReady safe to run on server-side (#18706) 2023-02-02 05:27:48 -08:00
Daniel Roe
b7591e639d
perf(nuxt): simplify generated variable names (#18629) 2023-01-30 12:24:58 -08:00
Daniel Roe
a0085b70a3
fix(nuxt): dedupe vue-router (#18626) 2023-01-30 10:22:15 -08:00
Daniel Roe
5037dd6876
fix: use named export from defu in all places (#18624) 2023-01-30 04:09:48 -08:00
Daniel Roe
7d812db9e8
fix(nuxt): augment interfaces exported from vue (#18505) 2023-01-25 07:59:02 -08:00
Daniel Roe
1d68b51c2c
fix(nuxt): async transform for inline middleware (#18460) 2023-01-25 04:52:00 -08:00
Daniel Roe
fdb31f418f
fix(nuxt): don't render unknown components with placeholder (#18494) 2023-01-25 02:30:59 -08:00
Daniel Roe
9751c9dab7
fix(nuxt): do not override inferred type of <NuxtPage> (#18495) 2023-01-25 00:44:59 -08:00
Daniel Roe
f711046171
perf(nuxt): add tree-shaken useServerSeoMeta composable (#18476) 2023-01-24 15:34:20 +00:00
Daniel Roe
629d2c099e fix(nuxt): import onServerPrefetch 2023-01-23 23:40:09 +00:00
pooya parsa
1af319e0fa
feat: experimental config schema (#18410) 2023-01-23 19:07:21 +01:00
Harlan Wilton
1406d21ed2
feat(head): useSeoMeta composable (#18441) 2023-01-23 11:39:17 +00:00
Daniel Roe
de4086f6ed
fix(nuxt): let router handle internal redirects within middleware (#18445) 2023-01-23 11:18:33 +00:00
Daniel Roe
c5d6db7fd0
fix(nuxt): await async callWithNuxt calls (#18443) 2023-01-23 11:13:21 +00:00
Daniel Roe
0236a799f2
fix(vite): don't skip loading styles in hydration phase (#18433) 2023-01-21 23:15:48 +00:00
Kareem Dabbeet
ea9812a559
feat(nuxt): allow disabling color for <NuxtLoadingIndicator> (#18432) 2023-01-21 23:15:32 +00:00
Inesh Bose
98d292ae85
fix(nuxt): provide types for modules as array (#18416)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-01-21 16:55:44 +00:00
Alan Poulain
50e23bad35
fix(nuxt): use query for hashing the fetch key (#18411) 2023-01-20 18:05:10 +00:00
renovate[bot]
7c1712013c
chore(deps): update all non-major dependencies (main) (#11127)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2023-01-20 16:17:31 +00:00
Daniel Roe
5e1881c20a
feat(nuxt): support server components with extracted payloads (#10113) 2023-01-20 12:10:58 +00:00
Sébastien Chopin
912eafbbf6
feat(nuxt): prefetch middleware/layouts + await layout loading (#10155) 2023-01-19 13:01:21 +00:00
Daniel Roe
0db3c6373a
fix(nuxt): name anonymous components in render tree (#10011) 2023-01-14 01:27:38 +00:00
Daniel Roe
488479ab1b
fix(nuxt): avoid injecting url helpers into globalThis (#9627) 2023-01-14 01:27:06 +00:00
Kyohei Oka
86ed4ef1f4
fix(nuxt): update class prop type for head components (#9133) 2023-01-14 01:18:55 +00:00
Daniel Roe
bf649fe576
fix(nuxt): allow overriding lower layer composables (#10017) 2023-01-14 01:14:24 +00:00
renovate[bot]
0b1cdcc70d
chore(deps): update devdependency @nuxtjs/eslint-config-typescript to v12 (#9086)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-01-14 01:13:48 +00:00
Mohammad Saleh Fadaei
5b19a0dc34
fix(nuxt): don't try to override computed layouts in definePageMeta (#9161) 2023-01-14 00:58:54 +00:00
Julien Huang
f4ba7ec82d
fix(nuxt): don't short circuit middleware after validate function (#9180) 2023-01-14 00:23:20 +00:00
Sébastien Chopin
71a5727589
fix(nuxt): support deep assign on empty object for app config (#10087) 2023-01-13 23:28:07 +00:00
Daniel Roe
ef39d2c9d9
fix(nuxt): add build.transpile strings to nitro inline list (#10094) 2023-01-13 23:19:03 +00:00
Daniel Roe
a68da6d6a7
chore: case police update (#10085) 2023-01-13 15:00:57 +00:00
Daniel Roe
698a3103e0
fix(nuxt): include components runtime dir in build output (#10046) 2023-01-11 20:51:49 +00:00
Alex Liu
9de94c21cf
refactor: improve internal type definitions of <NuxtLink> (#9869) 2023-01-10 14:33:21 +00:00
Anthony Fu
586df1a817
feat(imports): imports:context hook for unimport context (#9971) 2023-01-09 11:35:44 +00:00
Daniel Roe
2d013c5fad
feat(nuxt): server-only components (#9972) 2023-01-09 11:20:33 +00:00
Alejandro Romano
7f4f10a733
fix(nuxt): set is loading state for <NuxtLoadingIndicator> after throttle (#9832) 2023-01-02 19:20:53 +01:00
Yann Odeyer
da6fa9ab44
perf(nuxt): use static import of @unhead/ssr (#9826) 2022-12-23 14:18:14 +01:00
Anthony Fu
faf260757c
feat(vite): display production build stats (#9761) 2022-12-19 12:57:08 +01:00
Mehdi HosseinZade
04c8625843
feat(nuxt): deep watch useCookie ref value by default (#9664)
* feat(nuxt): useCookie add deep watch option

* docs(api): useCookie add deepWatch option

* feat(nuxt): useCookie change deepWatch to watch option

* boolean|shallow

* enable watch by default

* docs: fix example

* docs(api): update useCookie example

Co-authored-by: Pooya Parsa <pooya@pi0.io>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-12-19 12:50:46 +01:00
Daniel Roe
0cb9a4c51d
refactor(nuxt): do not add all composable auto-imports to globalThis (#9630) 2022-12-13 10:30:12 +00:00
Daniel Roe
4cf110e0d8
fix(nuxt): make dev-only regexp less greedy (#9679) 2022-12-13 09:39:14 +00:00
renovate[bot]
3733f123df
chore(deps): update all non-major dependencies (#9670)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-12-12 16:45:15 +00:00
Daniel Roe
5afcaca98f
feat(vite): upgrade to vite 4 (#9238) 2022-12-12 15:22:04 +00:00
Daniel Roe
23307cd8e0
fix(nuxt): remove absolute paths from routes objects (#9655) 2022-12-12 13:25:00 +01:00
Harlan Wilton
4cb7e425a1
refactor(nuxt): remove vue-meta for head support (#9638) 2022-12-12 11:07:31 +01:00
Daniil Chudo
ab2456c295
refactor: split out type imports from value imports (#9225) 2022-12-11 21:44:52 +00:00
Evgeny Yurkin
4641e8e504
fix(nuxt): await plugin asyncdata promises in nuxt hook (#9616) 2022-12-10 22:44:29 +00:00
Daniel Roe
2396fc657f
fix(nuxt): remove deprecated req/res access (#9636) 2022-12-10 19:54:35 +00:00
Alexander Lichter
d0c0cd7ad2
refactor(nuxt): use pathe.join for layer lookup (#9540) 2022-12-06 12:30:14 +01:00
Alexander Lichter
5f935aad48
feat(nuxt): support for extending error.vue in layers (#9521) 2022-12-06 09:44:03 +00:00
Mahdi Boomeri
9c478ee16e
feat: useNuxtData composable (#9262)
Co-authored-by: Daniel Roe <daniel@roe.dev>
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-12-05 14:07:33 +01:00
Daniel Roe
5fe7c1c24d
fix(nuxt): speculation rules should be reactive (#9472) 2022-12-05 11:46:13 +01:00
Daniel Roe
4c4249dc33
feat(nuxt): add onNuxtReady composable (#9478) 2022-12-05 11:09:58 +01:00
Daniel Roe
52421a9354
fix(nuxt): defer render-blocking prefetches until after load (#9475) 2022-12-02 16:13:35 +00:00
Daniel Roe
c26979a047
fix(nuxt): useCookie with defaults should return non-null value (#9449) 2022-12-02 10:45:33 +01:00
Daniel Roe
aa9aec112a
fix(nuxt): allow layouts to receive custom props (#9395) 2022-11-29 13:16:41 +01:00
Daniel Roe
ab125bd1c5
feat(nuxt): experimental server component islands (#5689)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-11-24 13:24:14 +01:00
Damian Głowala
4f2bfbe5c0
fix(nuxt): include missing <NuxtPage> component props (#9204)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-11-21 14:03:22 +01:00
Danil Zalizchuk
e85e3ab6e5
refactor(nuxt): fix typo in internal plugin names (#9201) 2022-11-21 11:45:54 +01:00
Toby Faux
32044dc8a5
fix(nuxt): allow union type arguments for useAsyncData (#9061) 2022-11-16 15:27:24 +01:00
pooya parsa
d6bfa216ae
fix(nuxt): removed auto imports (#9045) 2022-11-16 10:59:45 +01:00
pooya parsa
5ac9d85a49
refactor!: remove deprecated api (#9029) 2022-11-16 03:26:35 +01:00
Anthony Fu
f1ae40fc4e
fix(nuxt): improve hmr for pages macros (#8940)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-11-15 18:15:44 +01:00
Daniel Roe
f7850526e8
fix(nuxt)!: include request url and params in useFetch key (#6632) 2022-11-15 17:47:41 +01:00
Harlan Wilton
fddc8b2e6e
feat(nuxt, schema): official @vueuse/head v1 support (#8975) 2022-11-15 17:26:38 +01:00
Daniel Roe
2c2fbdffc9
refactor(nuxt)!: move head option support into defineNuxtComponent (#8901) 2022-11-15 15:47:17 +01:00
pooya parsa
b49f2a8147
refactor: update unjs dependencies to stable v1 (#9011) 2022-11-15 15:33:43 +01:00
Daniel Roe
4c8369fbf3
fix(nuxt): include layers in esbuild transform (#9014) 2022-11-15 14:52:16 +01:00
kevin olson
79d5634c69
docs: add a bit more detail in the definePageMeta warning to specify it needs to be in a page (#8923) 2022-11-14 11:28:31 +01:00
Julien Huang
8c4ff5c585
fix(nuxt): avoid passing attrs to default slot for ClientOnly (#8921) 2022-11-14 11:27:57 +01:00
Daniel Roe
e6351349c0
feat(nuxt): add onBeforeRouteLeave and onBeforeRouteUpdate composables (#8889) 2022-11-10 14:52:04 +01:00
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