Commit Graph

249 Commits

Author SHA1 Message Date
Daniel Roe
81a8a25834
feat(schema, nuxt): allow user-configurable serverDir (#7868) 2022-10-10 11:49:44 +01:00
Daniel Roe
385674494d
feat(nuxt): refresh override for data fetching composables (#7864) 2022-10-10 11:33:16 +01:00
Daniel Roe
829a550580
feat(pages): add validate hook for definePageMeta (#7870) 2022-10-10 11:18:20 +01:00
Daniil Chudo
75f4a54f7e
feat(nuxt): add default slot to <NuxtLoadingIndicator> (#7128)
Co-authored-by: Alexander Lichter <github@lichter.io>
2022-10-10 11:12:36 +01:00
Daniel Roe
6d904663a4
fix(nuxt): use correct cache and add baseURL to payload (#7984) 2022-10-09 15:22:19 +01:00
mmis1000
c404cb1be4
fix(nuxt): page hydration and double load (#7940)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-10-08 16:18:57 +02:00
Daniel Roe
1477d3759e
feat(nuxt): allow configuring plugins directory (#7981) 2022-10-07 09:13:12 +02:00
Daniel Roe
92ff066ab2
fix(nuxt): don't prerender index.html with a server (#7831) 2022-10-03 16:17:46 +02:00
MiniDigger | Martin
63c88056c7
fix(head): allow using the default slot for script content like noscript (#7858)
Co-authored-by: Martin Benndorf <martin.benndorf@gothaer.de>
2022-10-03 16:16:37 +02:00
Julien Huang
e6ca07bdc0
fix(nuxt): remove fragment from createClientOnly (#7774)
Co-authored-by: Daniel Roe <daniel@roe.dev>
Co-authored-by: jhuang@hsk-partners.com <jhuang@hsk-partners.com>
2022-10-03 16:14:55 +02:00
Julien Huang
2c8c21209b
fix(nuxt): fix lazy import of .client components (#7422)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-10-03 16:14:07 +02:00
Daniel Roe
a3fd4193ce
fix(nuxt): allow auto-import component with same filename (#7713) 2022-10-03 15:38:43 +02:00
Daniel Roe
4823b17836
fix(nuxt): handle schema types for relative module paths (#7946) 2022-10-03 15:32:01 +02:00
Daniel Roe
4c5048826c
fix(nuxt): don't disable scripts in dev mode with experimental noScripts (#7745) 2022-09-26 11:52:43 +02:00
Daniel Roe
c0e99c7273
fix(nuxt): respect baseURL when rendering payload path (#7809) 2022-09-26 11:16:34 +02:00
菜狗
a68a7fe07d
refactor(nuxt): use unref in fetch.ts (#7813) 2022-09-26 11:13:30 +02:00
chenying
30277da960
refactor(nuxt): use unref in layout.ts (#7818)
Co-authored-by: chenying <1770365139@qq.com>
2022-09-26 11:12:20 +02:00
Daniel Roe
2894a75bc8
fix(nuxt): respect immediate option in useFetch (#7720) 2022-09-22 15:55:29 +02:00
Daniel Roe
b68cf0706d
fix(nuxt): do not warn for non-existent default layout (#7748) 2022-09-22 15:54:55 +02:00
Daniel Roe
1c26e07141
feat(nuxt): support redirect within page metadata (#7746) 2022-09-22 15:54:34 +02:00
Daniel Roe
a9a8571e35
fix(nuxt): export and auto-import clearNuxtData (#7710) 2022-09-21 11:53:38 +02:00
Daniel Roe
98ce2e6492
fix(nuxt): only observe tag elements for <NuxtLink> prefetching (#7679) 2022-09-20 11:29:22 +02:00
Daniel Roe
347abcd065
fix(nuxt): strip non-.vue extensions from component types (#7673) 2022-09-20 10:54:46 +02:00
Daniel Roe
f8a23564c3
fix(nuxt): don't treeshake client-only fallback templates (#7659) 2022-09-20 08:24:45 +02:00
Julien Huang
c4fe8525ef
fix(nuxt): add missing process.client for early redirect in navigateTo (#7625) 2022-09-19 10:54:35 +02:00
pooya parsa
1ebdef77a6
fix(nuxt): keep state in the initial state instead of extracting it (#7567) 2022-09-16 12:49:00 +02:00
Daniel Roe
c1ed6ecc3c
fix(nuxt): load payload after middleware and once final route is resolved (#7574) 2022-09-16 12:15:10 +02:00
pooya parsa
5605f1ce18
feat: allow disabling payload extraction (#7588) 2022-09-16 12:14:41 +02:00
pooya parsa
b933015850
feat(kit): useNitro() utility (#7557) 2022-09-15 18:10:50 +02:00
pooya parsa
4b4558c2be
fix(nuxt): remove modulepreload for spa fallback routes with ssr:true (#7553) 2022-09-15 14:20:16 +02:00
Daniel Roe
5855ba4684
fix(nuxt): pass fully resolved path to nitro dist files (#7494) 2022-09-15 13:24:43 +02:00
Daniel Roe
3ed63a6b70
fix(nuxt): do not pass prefetched class to custom link (#7522) 2022-09-15 09:52:21 +02:00
pooya parsa
6e18237e7a
fix(nuxt): disable payload extraction for spa generated pages (#7535) 2022-09-15 09:31:55 +02:00
pooya parsa
9ee5ca2b47
feat(nuxt): generate spa fallback for nuxt generate (#7507) 2022-09-14 17:16:24 +02:00
pooya parsa
9024d76165
fix(nuxt): add payload.client plugin only for production build (#7498) 2022-09-14 15:01:02 +02:00
pooya parsa
ac0b3a63a2
feat(nuxt, kit): auto import defineNuxtConfig (#7497) 2022-09-14 13:10:10 +02:00
pooya parsa
3a60bf69ce
perf(nuxt): import defineNuxtConfig from nuxt/config (#7485) 2022-09-14 12:37:30 +02:00
Daniel Roe
5d79ed5f9e
feat(nuxt): allow passing transition & keepalive props to <NuxtPage> (#7492) 2022-09-14 12:34:16 +02:00
Daniel Roe
ee75b48526
refactor(nuxt): use relative imports into composables (#7487) 2022-09-14 11:22:03 +02:00
Daniel Roe
40d090745b
fix(nuxt): only delete assets when building (#7486) 2022-09-13 23:57:58 +02:00
Alex Liu
addcb5cd47
feat(nuxt): support prefetching <nuxt-link> (#4329)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-09-13 22:20:23 +02:00
Daniel Roe
31de18100c
perf(nuxt): only inject preload helper when webpack is used (#7460) 2022-09-13 12:57:14 +02:00
Daniel Roe
3753ea0ead
feat(nuxt): add workspaceDir option and add it to modulesDir (#7439) 2022-09-12 22:06:17 +02:00
pooya parsa
ceb61ada2b
refactor(schema): upgrade to untyped 0.5 (#7452) 2022-09-12 20:22:41 +02:00
Daniel Roe
13dc0b94c4
feat(nuxt): allow exposing type augmentations from extends layers (#7442) 2022-09-12 15:41:15 +02:00
Daniel Roe
5893dc201f
fix(nuxt): augment GlobalComponents from @vue/runtime-core (#7448) 2022-09-12 15:40:44 +02:00
Daniel Roe
46240a8c14
test(nuxt): add tests for import protection plugin (#7416) 2022-09-12 11:23:37 +02:00
Daniel Roe
563cf7c1c9
fix(nuxt): use more specific FetchError for useFetch errors (#7435) 2022-09-12 11:23:19 +02:00
pooya parsa
888bd7c145
feat(nuxt): payload rendering support (#6455)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-09-10 15:57:16 +02:00
Daniel Roe
9abc7a2122
fix(nuxt): do not apply import protection to top-level resolution (#7344) 2022-09-10 13:51:17 +02:00