Commit Graph

287 Commits

Author SHA1 Message Date
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
Daniel Roe
fceb74906d
perf(kit,nuxt,schema,vite,webpack): use explicit exports (#27998) 2024-07-05 10:52:12 +01:00
Daniel Roe
e6109b2266
fix(nuxt): add / as fallback if page can't be identified 2024-07-03 17:43:45 +01:00
Daniel Roe
3f895ef845
fix(nuxt): seed crawler when prerendering pages (#27955)
Co-authored-by: Josh Dean <jdbdean@gmail.com>
2024-07-01 23:04:10 +01:00
Daniel Roe
ecb35d3a2a
fix(nuxt): pass augmented pages to child paths
resolves https://github.com/nuxt/nuxt/issues/27781
2024-06-30 01:45:48 +01:00
Daniel Roe
bf2b581b53
fix(nuxt): add #vue-router alias for backwards compat (#27896) 2024-06-28 14:14:47 +02:00
Alexander Lichter
cbd66cdafc
fix(nuxt): extract all-literal page meta (#27821) 2024-06-26 11:45:44 +02:00
renovate[bot]
77d32cdcec
chore(deps): update all non-major dependencies (main) (#27767)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-06-24 23:44:34 +02:00
Daniel Roe
dabcb5ecc9
fix(nuxt): add / even if pages module isn't enabled 2024-06-16 00:19:00 +01:00
Daniel Roe
cb77ddc308
chore: lint 2024-06-16 00:07:31 +01:00
Daniel Roe
44cada95a6
fix(nuxt): only inject root path in prerender 2024-06-16 00:00:20 +01:00
Daniel Roe
8af56b1761
fix(nuxt): include build-time pages in prerender routes (#27569) 2024-06-13 23:35:57 +01:00
Daniel Roe
02945b9fa6
chore: add extra types for empty array definitions 2024-06-13 22:54:50 +01:00
Daniel Roe
220cc502a1
fix(nuxt): preserve route metadata assigned outside page (#27587) 2024-06-13 17:59:24 +01:00
Daniel Roe
ab887d90d7
fix(nuxt): handle tsx code when extracting pageMeta/routeRules (#27583) 2024-06-13 14:44:08 +01:00
Daniel Roe
09f6a88e1d
fix(nuxt): use file path as key for re-augmenting 2024-06-11 09:37:35 +01:00
Daniel Roe
b75bf870be
fix(nuxt): register augmented pages to avoid re-augmenting 2024-06-11 09:23:48 +01:00
Daniel Roe
dccf2e5f35
fix(nuxt): resolve paths without file extensions 2024-06-10 20:55:04 +01:00
Daniel Roe
91685a5b2b
fix(nuxt): resolve full path to app manifest stub page 2024-06-10 20:49:43 +01:00
Daniel Roe
0536dbeed9
fix(nuxt): also augment page metadata after pages:extend hook (#27134) 2024-06-10 17:24:43 +01:00
Anthony Fu
d1ac12c98c
perf(vite): exclude common ESM deps from pre-bundling (#27372) 2024-05-27 14:26:03 +01:00
Jakub Bednár
faa5178d32
feat(nuxt): handle nuxt route injection for this.$route (#27313) 2024-05-24 20:27:16 +01:00