Commit Graph

308 Commits

Author SHA1 Message Date
Vuk Marjanovic
da9a0b1da7
fix(nuxt): use fullPath instead of empty string in router hmr (#30500) 2025-01-11 21:12:31 +00:00
Matej Černý
04e02986cd
fix(nuxt): don't hoist identifiers declared locally in definePageMeta when extracting page metadata (#30490) 2025-01-09 15:11:44 +00:00
Matej Černý
65380c6bc9
fix(nuxt): collect all identifiers before extracting page metadata (#30478) 2025-01-07 04:49:59 +00:00
Daniel Roe
aef96ae88d
fix(nuxt): respect router.options when hmring routes (#30455) 2025-01-04 22:35:36 +00:00
Matej Černý
b3ddc31b33
fix(nuxt): use node location instead of range for route meta property extraction (#30447) 2025-01-04 21:14:55 +00:00
Julien Huang
ca6e31c5d6
refactor(nuxt): use consola with nuxt tag instead of console (#30408) 2024-12-29 23:25:29 +00:00
Daniel Roe
2b49c5b936
fix(nuxt): pass nuxt instance to resolvePagesRoutes 2024-12-29 23:18:55 +00:00
Matej Černý
ba764b212f
fix(nuxt): ignore non-reference identifiers when extracting page metadata (#30381) 2024-12-26 22:14:17 +00:00
Daniel Roe
dcbe4ec1a1
fix(nuxt): initialise import.meta.hot.data 2024-12-24 23:00:40 +00:00
Vuk Marjanovic
03f0d1aec3
fix(nuxt): don't use <RouterLink> for links starting with # (#30190) 2024-12-18 23:39:54 +00:00
Daniel Roe
7698967fbf
perf(nuxt): use static hashMode option (#30297) 2024-12-18 12:12:11 +00:00
Matej Černý
59f5a76d51
feat(nuxt): support local functions in definePageMeta (#30241) 2024-12-18 09:42:43 +00:00
Daniel Roe
48e50c030a
fix(nuxt): ensure getRouteRules works with nitro signature (#30277) 2024-12-16 20:51:18 +00:00
Daniel Roe
d874726ffb
fix(nuxt): guard window access 2024-12-09 15:19:10 +00:00
Julien Huang
8c956db866
refactor(nuxt): prefix all core modules with nuxt: (#30028) 2024-12-09 12:38:25 +00:00
Daniel Roe
33789bec05
test: add additional attw test for built packages (#30206) 2024-12-09 12:28:48 +00:00
Daniel Roe
5f30fe925f
fix(nuxt,vite): hmr for templates, pages + page metadata (#30113) 2024-12-03 09:31:17 +00:00
Daniel Roe
3cb8b9fcb0
refactor(nuxt): simplify and improve core plugins that parse ast (#30088) 2024-11-28 16:34:02 +00:00
Harlan Wilton
16ef9be903
feat(nuxt): experimental extraPageMetaExtractionKeys (#30015) 2024-11-27 16:57:15 +00:00
Daniel Roe
e87f6d3057
fix(nuxt): allow scanning metadata from 2+ files at same path (#29969) 2024-11-19 12:00:57 +00:00
xjccc
5190dac1ae
chore(nuxt): remove redundant type (#29810) 2024-11-06 09:36:58 +00:00
xjccc
cbafa582a3
fix(nuxt): respect existing props value in definePageMeta (#29683) 2024-11-02 23:38:54 +00:00
Michael Brevard
5dad6e6233
perf(kit,nuxt,vite,webpack): hoist regex patterns (#29620) 2024-10-22 14:39:50 +01:00
xjccc
d275b382ec
feat(nuxt): allow enabling route props in definePageMeta (#29586) 2024-10-22 13:57:16 +01:00
Bobbie Goede
eaeda4ee1e
feat(nuxt,schema): pages:resolved hook + scan meta post extend (#28861) 2024-10-22 13:32:46 +01:00
Ryoya
fbfb4e3568
fix(nuxt): fix nested page types in typedPages (#29352) 2024-10-10 20:53:51 +01:00
Daniel Roe
56d2261471
refactor(nuxt,schema,vite,webpack): use unplugin for vfs (#29165) 2024-10-09 13:58:05 +01:00
Ryota Watanabe
ebc370c6f6
fix(nuxt): avoid throwing 404 error before middleware finishes (#29054) 2024-10-09 00:09:02 +02:00
Daniel Roe
be31a95c53
fix(nuxt): prevent 404 when hitting component test endpoint 2024-10-08 21:02:30 +02:00
Daniel Roe
781d8c4174
fix(nuxt): use routeRules to hint pages to prerender (#29172) 2024-09-26 17:07:46 +01:00
Daniel Roe
2309cdf225
refactor(nuxt): use addBuildPlugin internally (#29157) 2024-09-25 23:59:59 +01:00
Daniel Roe
efae3a4f3c
chore: add more checks around indexed access (#29060) 2024-09-18 21:41:53 +02:00
Daniel Roe
1fec546102
perf(nuxt): remove interop default for dynamic components (#28912) 2024-09-10 14:56:08 +01:00
Daniel Roe
b0bf8b55fc
fix(nuxt): ensure injected route has enumerable keys (#28841) 2024-09-05 09:33:07 +02:00
Thimo Sietsma
76f3ab400d
fix(nuxt): do not accept arbitrary strings for MiddlewareKey (#28676) 2024-08-26 20:57:58 +01:00
felix-dolderer
85719f00aa
fix(nuxt): allow customising status code in validate method (#28612) 2024-08-21 12:51:22 +01:00
Daniel Roe
2ccdaa14cb
fix(nuxt): extract route rules/page meta in 2+ script blocks (#28625) 2024-08-21 12:38:18 +01:00
Horu
7658420b1c
feat(nuxt): allow organising pages within route groups (#28276) 2024-08-12 22:16:04 +01:00
Daniel Roe
487170c867
fix(nuxt): scan jsx pages for page metadata (#28479) 2024-08-09 12:11:38 +01:00
BoogieBen.
acea730a6b
fix(nuxt): handle scroll-padding-top: auto in scrollBehavior (#28320) 2024-08-07 12:49:24 +01:00
Julien Huang
f5dad8a82f
chore(nuxt): remove unnecessary await (#28407) 2024-08-05 16:33:57 +01:00
renovate[bot]
c906312034
chore(deps): update all non-major dependencies (main) (#28321)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-08-05 16:33:27 +01:00
Bobbie Goede
754fc30e5d
chore(nuxt): use router code reference permalink (#28356) 2024-08-01 16:02:19 +02:00
Julien Huang
4d730545a9
fix(nuxt): don't warn for definePageMeta in client-only pages (#28246) 2024-07-21 21:04:06 +02:00
xjccc
242b4710ce
fix(nuxt): merge route meta properties with scanned meta (#28170) 2024-07-18 15:55:39 +01:00
BoogieBen
48a8b18083
fix(nuxt): consider doc scroll-padding-top in scrollBehavior (#28083) 2024-07-12 14:13:24 +01:00
Daniel Roe
082a6f78ba
fix(nuxt): always prerender at least one page with crawler (#28131) 2024-07-12 13:22:17 +01:00
Daniel Roe
4ea89318df
fix(nuxt): use native vue-router composables (#28114) 2024-07-11 09:06:25 +01:00
Daniel Roe
128edc76fc
perf(kit,nuxt,schema,vite,webpack): use explicit exports (#27998) 2024-07-03 17:46:42 +01:00
Daniel Roe
34fd04bb46
fix(nuxt): add / as fallback if page can't be identified 2024-07-03 12:09:43 +01:00