Commit Graph

223 Commits

Author SHA1 Message Date
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
Daniel Roe
83949c3734
fix(nuxt): always inline entry styles (#7386) 2022-09-10 11:43:17 +02:00
Daniel Roe
e60d03b940
fix(nuxt): de-default layout/component imports (#7389) 2022-09-10 11:41:32 +02:00
Daniel Roe
9c3bef4a01
fix(nuxt): allow abortMiddleware to receive a nuxt error or error options (#7335) 2022-09-08 10:52:00 +02:00
Alex Kozack
6b3a1a4256
feat(nuxt): filter support for clearNuxtData (#7323) 2022-09-07 15:25:37 +02:00
Daniel Roe
eab4706614
feat: allow client-side sourcemaps in production (#7313) 2022-09-07 13:32:10 +02:00
Alex Kozack
b2f573f685
feat(nuxt): add clearNuxtData (#5227)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-09-07 13:20:09 +02:00
Vl4dimyr
fc2be9ed42
feat(nuxt): add immediate option for useAsyncData and useFetch (#5500)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-09-07 11:47:40 +02:00
Daniel Roe
5a69f48244
fix(nuxt): don't try to set cookie after redirect (#7288) 2022-09-07 10:34:16 +02:00
Julien Huang
f8f5771646
perf(nuxt): cache createClientOnly wrapper using weakmap (#7297) 2022-09-07 10:31:11 +02:00
Daniel Roe
1ca294e125
fix(nuxt): don't override payload error if it is present (#7290) 2022-09-06 18:21:53 +02:00
Daniel Roe
a931667111
feat(kit): add addImportsSources utility (#7270) 2022-09-06 12:17:41 +02:00
Anthony Fu
96b5b8fd6d
fix(nuxt): import and wrap client-only components once (#7245) 2022-09-06 09:40:25 +02:00
Daniel Roe
cc87d2a37a
feat(nuxt): support experimental flag to render no client-side js (#7248) 2022-09-05 15:46:47 +02:00
Pooya Parsa
80a66dc5af chore(deps): update nitropack to 0.5.1 2022-09-05 13:03:42 +02:00
Kévin Schnekenburger
4bd1be9174
feat(nuxt): allow extending routes with custom alias (#7074)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-09-05 09:53:01 +02:00
HomWang
1fc34e6c06 chore: lint (#7213) 2022-09-04 10:31:57 +02:00
pooya parsa
ac56ce7dd1
feat(nuxt): router with hash mode (#6980) 2022-09-04 10:11:28 +02:00
Daniel Roe
720506d263
feat(nuxt): custom history and routes for app/router.options.ts (#7129)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-09-04 09:42:47 +02:00
Daniel Roe
de62520990
feat(nuxt, vite): inline global and component styles in server response (#7160)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-09-03 15:03:30 +02:00
Harlan Wilton
fe3fc34b12
fix(head): case http-equiv correctly (#7190) 2022-09-03 14:31:09 +02:00
Damian Głowala
3e9f1efb1e
fix(nuxt): update default redirect code of navigateTo to 302 Found (#7189) 2022-09-03 14:30:03 +02:00
Pooya Parsa
ee20a00f65 chore: fix typo in deprecation messages 2022-09-03 12:35:16 +02:00
pooya parsa
abd5dc58c9
fix: improve autoImports deprecation dx (#7158) 2022-09-02 15:42:46 +02:00
pooya parsa
9eb95e2371
build(nuxt): update nitropack to 0.5.x (#7141) 2022-09-01 18:57:10 +02:00
Daniel Roe
6fbbf8c5bc
refactor(nuxt): remove unused meta:register hook (#7130) 2022-09-01 11:08:56 +02:00
HomWang
cafc955fb8
docs: add explanatory comment before universal router stubs (#7124)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-09-01 11:07:44 +02:00