Commit Graph

263 Commits

Author SHA1 Message Date
Daniel Roe
5e7dfc2338
refactor(nuxt): deprecate <Script> component tag in template (#8197) 2022-10-15 13:20:24 +02:00
Benicio Cardozo
b9d6f37dfd
fix(nuxt): enable router when app/router.options.ts file is present (#8193) 2022-10-15 13:04:06 +02:00
Daniel Roe
d862a6bfdd
fix(nuxt)!: refresh to override previous requests by default (#8190) 2022-10-15 13:02:23 +02:00
Daniel Roe
6dcff8e428
feat(nuxt): add hook debug mode (#7690) 2022-10-15 12:56:15 +02:00
Julien Huang
23ad303f19
feat(nuxt)!: add <NuxtPage> to #components (#8145) 2022-10-14 10:36:52 +02:00
Daniel Roe
2083ed4a63
perf(nuxt): remove vue-router dependency from minimal app (#8188) 2022-10-14 10:36:03 +02:00
Benicio Cardozo
9fa147dc22
types: include nuxt-link target types (#8172)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-10-13 19:51:26 +02:00
Harlan Wilton
577573f3e8
perf(nuxt)!: use component loader to add meta components (#8167)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-10-13 17:54:06 +02:00
Harlan Wilton
9e6d292ba6
feat(nuxt): migrate to latest @vueuse/head (#8000) 2022-10-12 18:00:17 +01:00
Alex
6ef6eae2c7
fix(nuxt): don't inline styles for per-request ssr: false (#8106)
Co-authored-by: Alex C <alex.canals@jkweb.ch>
2022-10-12 09:50:16 +01:00
Daniel Roe
5f003a9738
feat(nuxt): add ssr route rule to enable SPA mode (#7938) 2022-10-11 17:03:52 +01:00
Julien Huang
ee41bb6d5d
feat(nuxt): wrap #components client exports with createClientOnly (#7412)
Co-authored-by: jhuang@hsk-partners.com <jhuang@hsk-partners.com>
2022-10-11 16:26:03 +01:00
Daniel Roe
26b1c9ca0e
feat(nuxt): parse html to treeshake client-only components (#7527) 2022-10-10 16:48:23 +01:00
Daniel Roe
5a2616cfee
perf(nitro): respond with early hints in node-based environments (#7893) 2022-10-10 12:02:35 +01:00
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