Commit Graph

308 Commits

Author SHA1 Message Date
Vuk Marjanovic
608830e130
fix(nuxt): use fullPath instead of empty string in router hmr (#30500) 2025-01-13 12:27:12 +00:00
Matej Černý
3e674222b1
fix(nuxt): don't hoist identifiers declared locally in definePageMeta when extracting page metadata (#30490) 2025-01-13 12:24:26 +00:00
Matej Černý
f628530ae4
fix(nuxt): collect all identifiers before extracting page metadata (#30478) 2025-01-07 05:43:50 +00:00
Daniel Roe
d837cee9d1
fix(nuxt): respect router.options when hmring routes (#30455) 2025-01-04 23:05:04 +00:00
Matej Černý
b00264cd7c
fix(nuxt): use node location instead of range for route meta property extraction (#30447) 2025-01-04 21:38:33 +00:00
Julien Huang
5cad21572e
refactor(nuxt): use consola with nuxt tag instead of console (#30408) 2024-12-30 00:20:51 +00:00
Daniel Roe
e4a372e12c
fix(nuxt): pass nuxt instance to resolvePagesRoutes 2024-12-30 00:20:13 +00:00
Matej Černý
d3d3f9d85f
fix(nuxt): ignore non-reference identifiers when extracting page metadata (#30381) 2024-12-27 15:52:16 +00:00
Daniel Roe
b1cf5781dd
fix(nuxt): initialise import.meta.hot.data 2024-12-24 23:00:59 +00:00
Vuk Marjanovic
a4d4d48124
fix(nuxt): don't use <RouterLink> for links starting with # (#30190) 2024-12-19 13:56:17 +00:00
Daniel Roe
5d936e4354
perf(nuxt): use static hashMode option (#30297) 2024-12-18 16:36:46 +00:00
Matej Černý
f67fc574b9
feat(nuxt): support local functions in definePageMeta (#30241) 2024-12-18 16:36:45 +00:00
Daniel Roe
05f17b7041
fix(nuxt): ensure getRouteRules works with nitro signature (#30277) 2024-12-18 16:36:45 +00:00
Julien Huang
5b263beaf8
refactor(nuxt): prefix all core modules with nuxt: (#30028) 2024-12-09 14:25:56 +00:00
Daniel Roe
02390109c9
test: add additional attw test for built packages (#30206) 2024-12-09 14:25:38 +00:00
Daniel Roe
016900ffdb
fix(nuxt,vite): hmr for templates, pages + page metadata (#30113) 2024-12-03 09:57:57 +00:00
Daniel Roe
001869dd15
refactor(nuxt): simplify and improve core plugins that parse ast (#30088) 2024-12-03 09:57:55 +00:00
Daniel Roe
ae9f42f4aa
fix(nuxt): do not persist extraExtractionKeys on runtime route.meta 2024-11-28 09:14:29 +00:00
Harlan Wilton
a7dfc62038
feat(nuxt): experimental extraPageMetaExtractionKeys (#30015) 2024-11-27 17:07:41 +00:00
Daniel Roe
cea11d5060
fix(nuxt): allow scanning metadata from 2+ files at same path (#29969) 2024-11-19 07:03:38 -05:00
xjccc
7936158019
chore(nuxt): remove redundant type (#29810) 2024-11-06 09:50:02 +00:00
xjccc
738e2ee8eb
fix(nuxt): respect existing props value in definePageMeta (#29683) 2024-11-03 20:57:05 +00:00
Michael Brevard
9e23aceb6a
perf(kit,nuxt,vite,webpack): hoist regex patterns (#29620) 2024-10-22 15:38:26 +01:00
xjccc
56ceb1840e
feat(nuxt): allow enabling route props in definePageMeta (#29586) 2024-10-22 15:38:04 +01:00
Bobbie Goede
39951fd472
feat(nuxt,schema): pages:resolved hook + scan meta post extend (#28861) 2024-10-22 15:38:04 +01:00
Ryoya
ff18ecffd3
fix(nuxt): fix nested page types in typedPages (#29352) 2024-10-11 23:39:30 +01:00
Daniel Roe
0f210e3170
refactor(nuxt,schema,vite,webpack): use unplugin for vfs (#29165) 2024-10-09 15:04:58 +02:00
Ryota Watanabe
ad7aae046e
fix(nuxt): avoid throwing 404 error before middleware finishes (#29054) 2024-10-09 15:04:49 +02:00
Daniel Roe
cb725f0146
fix(nuxt): prevent 404 when hitting component test endpoint 2024-10-09 15:04:10 +02:00
Daniel Roe
a28e00c0da
fix(nuxt): use routeRules to hint pages to prerender (#29172) 2024-10-07 06:28:13 +02:00
Daniel Roe
4a84ec89e6
refactor(nuxt): use addBuildPlugin internally (#29157) 2024-10-07 06:26:12 +02:00
Daniel Roe
6a39c657f5
chore: add more checks around indexed access (#29060) 2024-09-19 13:26:25 +01:00
Daniel Roe
0e8f5ae59d
perf(nuxt): remove interop default for dynamic components (#28912) 2024-09-10 19:42:34 +01:00
Daniel Roe
74985a5251
fix(nuxt): ensure injected route has enumerable keys (#28841) 2024-09-09 10:27:50 +01:00
Thimo Sietsma
0a4113571d
fix(nuxt): do not accept arbitrary strings for MiddlewareKey (#28676) 2024-08-26 21:32:16 +01:00
felix-dolderer
fb7c2f79f8
fix(nuxt): allow customising status code in validate method (#28612) 2024-08-21 16:37:03 +01:00
Daniel Roe
eed8730688
fix(nuxt): extract route rules/page meta in 2+ script blocks (#28625) 2024-08-21 16:37:02 +01:00
xjccc
89ce936b45
fix(nuxt): preserve route-specific metadata on route.meta (#28441) 2024-08-19 13:49:22 +01:00
Horu
c4ae151de5
feat(nuxt): allow organising pages within route groups (#28276) 2024-08-13 20:44:00 +01:00
Daniel Roe
f707e6da89
fix(nuxt): scan jsx pages for page metadata (#28479) 2024-08-13 20:43:57 +01:00
BoogieBen.
e64f8c9f3d
fix(nuxt): handle scroll-padding-top: auto in scrollBehavior (#28320) 2024-08-13 20:43:07 +01:00
Daniel Roe
24d65be071
feat(nuxt): await custom routes function in router.options (#27644) 2024-08-08 11:09:22 +01:00
Julien Huang
03a0fb33f3
chore(nuxt): remove unnecessary await (#28407) 2024-08-06 15:17:52 +01:00
Bobbie Goede
198c4e199d
chore(nuxt): use router code reference permalink (#28356) 2024-08-06 15:17:51 +01:00
renovate[bot]
17ff2d5c98
chore(deps): update all non-major dependencies (3.x) (#28302)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-08-06 15:16:20 +01:00
Julien Huang
c5d524adb0
fix(nuxt): don't warn for definePageMeta in client-only pages (#28246) 2024-07-24 00:41:03 +02:00
xjccc
11264adda7
fix(nuxt): merge route meta properties with scanned meta (#28170) 2024-07-18 21:08:31 +01:00
BoogieBen
e0141fea22
fix(nuxt): consider doc scroll-padding-top in scrollBehavior (#28083) 2024-07-15 14:03:07 +01:00
Daniel Roe
c48ea9636f
fix(nuxt): always prerender at least one page with crawler (#28131) 2024-07-15 14:03:06 +01:00
Daniel Roe
c2e843485c
fix(nuxt): use native vue-router composables (#28114) 2024-07-15 14:03:06 +01:00