1
0
mirror of https://github.com/nuxt/nuxt.git synced 2025-03-23 17:46:34 +00:00
Commit Graph

197 Commits

Author SHA1 Message Date
Pooya Parsa
2bf9028f7e
refactor(kit,nuxt,schema): use consola and improve test dx () 2023-09-19 22:26:15 +01:00
Daniel Roe
e729406805
fix(nuxt): use original escapes/quotes in page re-exports () 2023-09-14 07:06:07 +01:00
Julien Huang
48fb6e243b
fix(nuxt): scroll to top by default on dynamic routes () 2023-09-06 20:44:59 +01:00
Daniel Roe
b5ce892864
fix(nuxt): respect ignorelist when scanning auto-imports () 2023-08-24 13:42:15 +01:00
Jongmin Yoon
6f7d86be78
fix(nuxt): recreate asyncData when immediate is disabled () 2023-08-24 13:06:29 +01:00
Daniel Roe
29f4eeff69
feat(nuxt): add support for routeRules defined within pages () 2023-08-23 21:38:17 +01:00
Daniel Roe
815230c1b5
test: add regression test for escaping payload () 2023-08-23 21:03:10 +01:00
anhao
4e538a03e2
fix(vite): use '' key for root scope in variable collector () 2023-08-17 15:35:28 +02:00
Pooya Parsa
c8cba7a062 test: reduce verbose log outputs 2023-08-15 07:35:56 +01:00
Daniel Roe
b2cea4927e
feat(nuxt): allow experimental global: 'sync' components () 2023-08-09 12:19:00 +01:00
pooya parsa
554f868bce
feat(nuxt): experimental native async context support ()
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-08-08 00:57:35 +02:00
Lucas Vargas
ffd0223583
feat(vite,webpack): tree-shakable import.meta.* build flags () 2023-08-07 23:03:40 +01:00
Daniel Roe
ae8314b236
chore: refresh lockfile () 2023-08-07 14:03:41 +01:00
Daniel Roe
5926bbeff8
feat(nuxt): allow 'lazy' (non-blocking) server components () 2023-07-31 09:51:09 +01:00
Julien Huang
2e6c4519cf
fix(nuxt): bind createClientOnly render function to ctx () 2023-07-24 09:00:31 +01:00
Daniel Roe
5b409f8579
fix(nuxt): avoid premature hydration when using async layouts () 2023-07-19 07:55:53 +01:00
Daniel Roe
449a01526a
fix(nuxt): ensure we only increment hydrating count once () 2023-07-18 16:21:53 +01:00
Daniel Roe
d0dde6426f
fix(nuxt): preserve old vnode when leaving nested route () 2023-07-05 12:39:39 +02:00
anhao
e70ff83e72
fix(vite): fix issue detecting shadowed keyed composables () 2023-07-05 11:35:45 +02:00
Julien Huang
9f5130d06b
fix(nuxt): stop loading indicator on navigation failure () 2023-07-03 12:14:17 +01:00
Anthony Fu
adb1c122a7
fix(nuxt): fix error on layout switching ()
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-06-23 11:02:01 +01:00
Daniel Roe
343a46d5f9
fix(nuxt): inline css directly in root component () 2023-06-20 19:28:44 +01:00
Daniel Roe
19fc2828fb
perf(nuxt): use prerendered islands to serialise/revive payload () 2023-06-14 10:09:27 +01:00
Daniel Roe
05a8c2d955
fix(nuxt): respect query/hash for external routes in navigateTo () 2023-06-11 22:27:02 +01:00
Julien Huang
41d34ca67d
feat(nuxt): allow accessing NuxtLayout ref via layoutRef () 2023-06-10 23:17:14 +01:00
Julien Huang
319935fc95
feat(nuxt): allow accessing NuxtPage ref via pageRef () 2023-06-10 23:13:33 +01:00
Nicolas Payot
c884a95f0f
feat(nuxt): return status from useAsyncData () 2023-06-09 22:38:14 +01:00
Daniel Roe
7710ed30fa
fix(nuxt): skip vue render when redirecting () 2023-06-07 13:18:50 +01:00
anhao
67f2232014
fix(vite): skip generating keys for locally scoped functions () 2023-06-05 20:15:12 +01:00
Daniel Roe
ec72066f91
fix(nuxt): key distinct pages differently for legacy asyncData () 2023-06-05 19:36:26 +01:00
Daniel Roe
c9adf700a4
fix(nuxt): handle serialising empty bigint ()
Co-authored-by: lorado <eugen.sacharow@gmx.de>
2023-05-30 13:53:04 +02:00
Louis Haftmann
92bc999d0e
fix(nuxt): omit Set-Cookie header if value is null () 2023-05-26 14:42:12 -05:00
Alexander
e50cabfed1
fix(nuxt): show error page after fatal abortNavigation () 2023-05-25 13:29:22 -05:00
Daniel Roe
2cdc22a746
fix(nuxt): don't refresh when hydrating when data is present () 2023-05-17 14:23:52 +01:00
Daniel Roe
d2e14b678b
fix(nuxt): prioritise vue app context when available () 2023-05-17 13:26:16 +01:00
Julien Huang
70c5ec86d2
feat(nuxt): full scoped slots support for server components () 2023-05-15 23:43:53 +01:00
Julien Huang
603e7e7fb1
feat(nuxt): allow keeping fallback for NuxtClientFallback () 2023-05-14 22:22:54 +01:00
Inesh Bose
d077c10c41
feat(nuxt): allow fallback production content in <DevOnly> () 2023-05-13 23:32:31 +01:00
Sébastien Chopin
6a052b583b
feat(nuxt): add useRequestURL helper () 2023-05-13 22:09:37 +01:00
Daniel Roe
7f0fe2fbe7
fix(nuxt): allow serialising undefined refs () 2023-05-13 20:49:05 +01:00
Daniel Roe
5e74fe4e0b
fix(nuxt): enable suspensible behaviour for nested pages () 2023-05-11 18:57:18 +01:00
Eduardo San Martin Morote
5781cf1569
feat(nuxt): add experimental typedPages option () 2023-05-09 18:08:07 +01:00
Daniel Roe
f73bb1de0a
fix(nuxt): return RenderResponse for redirects () 2023-04-28 11:18:03 +01:00
Julien Huang
ecf41537ca
fix(nuxt): throw errors when running legacy asyncData () 2023-04-27 11:51:33 +01:00
Daniel Roe
197de3ecbb
fix(nuxt): call app:error in SSR before rendering error page () 2023-04-26 14:36:59 +01:00
Julien Huang
e8e01bac13
fix(nuxt): use key to force server component re-rendering () 2023-04-20 22:41:20 +01:00
Daniel Roe
c7be5b4ec6
refactor(nuxt): rework and use isJS and isVue utilities consistently () 2023-04-19 19:17:36 +01:00
Preet Mishra
48b48dec00
fix(nuxt): handle pages with no content and log warning () 2023-04-19 17:58:43 +01:00
Daniel Roe
b011d3d76f
fix(nuxt): improve handling of redirects within middleware () 2023-04-13 02:58:25 -07:00
Daniel Roe
22f1f71e3e
fix(nuxt): mark entire payload as reactive () 2023-04-12 01:42:45 -07:00
Julien Huang
163913a744
feat(nuxt): add experimentalNoScripts route rule () 2023-04-11 07:17:44 -07:00
Daniel Roe
d6c3c2439a
feat(nuxt): support async transform of object properties () 2023-04-10 14:57:13 -07:00
Daniel Roe
9878c5b6e4
style: enable sort-imports eslint rule () 2023-04-07 09:02:47 -07:00
Daniel Roe
c65c5a8e79
fix(nuxt): deprecate old (pre-rc) runtimeConfig () 2023-04-07 04:36:45 -07:00
pooya parsa
9e503be0f2
feat(nuxt): experimental option for rich json payloads ()
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-04-07 03:34:35 -07:00
Julien Huang
4671294229
fix(nuxt): directly render server components () 2023-03-20 14:47:06 -07:00
Daniel Roe
ebd7dcd4ba
fix(nuxt): handle external navigation to api routes () 2023-03-20 17:15:01 +00:00
Harlan Wilton
c91e4d7933
feat(nuxt): add useHeadSafe and remove layer around head imports () 2023-03-10 00:01:21 -08:00
Julien Huang
1729d2e42f
feat(nuxt): add <NuxtClientFallback> component () 2023-03-08 13:13:06 -08:00
Harlan Wilton
8732720221
perf(head): drop @vueuse/head dependency () 2023-03-08 07:32:24 -08:00
Daniel Roe
df3ae8cb4e
feat(nuxt): enable chunk error handling by default () 2023-03-08 12:17:22 +00:00
Daniel Roe
60d07df4cc
feat(nuxt): support custom keyed composables () 2023-03-07 13:06:15 -08:00
Harlan Wilton
bb61496e98
feat(nuxt): allow configuring treeshakeable composables () 2023-03-07 01:30:05 -08:00
Alex Korytskyi
3a73f42d1c
feat(nuxt): support trailingSlashBehavior in defineNuxtLink () 2023-03-06 23:17:42 -08:00
Anthony Fu
59918f569e
feat(nuxt): scan composables with star export () 2023-03-01 04:24:46 -08:00
Mathieu Magalhaes
f5a3d7968c
fix(nuxt): respect redirects which differ only by trailing slash ()
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-02-16 09:26:15 -08:00
Daniel Roe
7d0ecb5a96
fix(nuxt): show client error if no page matches after validate fails () 2023-02-16 04:56:14 -08:00
Julien Huang
61cd6b5c71
fix(nuxt): use parser to treeshake client-only declarations () 2023-02-16 04:47:42 -08:00
Nick Williams
9dc5413cbd
fix(vite): respect isCustomElement config for jsx transform () 2023-02-16 04:45:08 -08:00
Daniel Roe
96b09ea982
feat(nuxt): add experimental app:chunkError hook and reload strategy () 2023-02-16 04:43:58 -08:00
Julien Huang
113ce71c34
fix(nuxt): use parser to treeshake <ClientOnly> () 2023-02-08 00:59:57 -08:00
Daniel Roe
1d68b51c2c
fix(nuxt): async transform for inline middleware () 2023-01-25 04:52:00 -08:00
Daniel Roe
fdb31f418f
fix(nuxt): don't render unknown components with placeholder () 2023-01-25 02:30:59 -08:00
Anthony Fu
5ede291a14 test: init hmr testing () 2023-01-22 16:47:24 +00:00
Daniel Roe
5e1881c20a
feat(nuxt): support server components with extracted payloads () 2023-01-20 12:10:58 +00:00
Daniel Roe
bf649fe576
fix(nuxt): allow overriding lower layer composables () 2023-01-14 01:14:24 +00:00
Mohammad Saleh Fadaei
5b19a0dc34
fix(nuxt): don't try to override computed layouts in definePageMeta () 2023-01-14 00:58:54 +00:00
Julien Huang
f4ba7ec82d
fix(nuxt): don't short circuit middleware after validate function () 2023-01-14 00:23:20 +00:00
Daniel Roe
2d013c5fad
feat(nuxt): server-only components () 2023-01-09 11:20:33 +00:00
Daniel Roe
4cf110e0d8
fix(nuxt): make dev-only regexp less greedy () 2022-12-13 09:39:14 +00:00
Daniil Chudo
ab2456c295
refactor: split out type imports from value imports () 2022-12-11 21:44:52 +00:00
Daniel Roe
aa9aec112a
fix(nuxt): allow layouts to receive custom props () 2022-11-29 13:16:41 +01:00
Daniel Roe
ab125bd1c5
feat(nuxt): experimental server component islands ()
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-11-24 13:24:14 +01:00
Daniel Roe
2c2fbdffc9
refactor(nuxt)!: move head option support into defineNuxtComponent () 2022-11-15 15:47:17 +01:00
Daniel Roe
9227361027
fix(nuxt): detect non-functional imports within page meta () 2022-11-10 11:31:01 +01:00
Daniel Roe
ee8e9ae656
test: update type test for strict mode () 2022-11-03 21:22:20 +01:00
Daniel Roe
491d02f6ca
fix(nuxt)!: use parser to generate page metadata () 2022-11-02 11:28:41 +01:00
Daniel Roe
d862a6bfdd
fix(nuxt)!: refresh to override previous requests by default () 2022-10-15 13:02:23 +02:00
Harlan Wilton
9e6d292ba6
feat(nuxt): migrate to latest @vueuse/head () 2022-10-12 18:00:17 +01:00
Daniel Roe
5f003a9738
feat(nuxt): add ssr route rule to enable SPA mode () 2022-10-11 17:03:52 +01:00
Julien Huang
ee41bb6d5d
feat(nuxt): wrap #components client exports with createClientOnly ()
Co-authored-by: jhuang@hsk-partners.com <jhuang@hsk-partners.com>
2022-10-11 16:26:03 +01:00
Daniel Roe
385674494d
feat(nuxt): refresh override for data fetching composables () 2022-10-10 11:33:16 +01:00
Daniel Roe
829a550580
feat(pages): add validate hook for definePageMeta () 2022-10-10 11:18:20 +01:00
mmis1000
c404cb1be4
fix(nuxt): page hydration and double load ()
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-10-08 16:18:57 +02:00
Julien Huang
e6ca07bdc0
fix(nuxt): remove fragment from createClientOnly ()
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
Daniel Roe
a3fd4193ce
fix(nuxt): allow auto-import component with same filename () 2022-10-03 15:38:43 +02:00
Daniel Roe
1c26e07141
feat(nuxt): support redirect within page metadata () 2022-09-22 15:54:34 +02:00
Daniel Roe
f8a23564c3
fix(nuxt): don't treeshake client-only fallback templates () 2022-09-20 08:24:45 +02:00
Julien Huang
c4fe8525ef
fix(nuxt): add missing process.client for early redirect in navigateTo () 2022-09-19 10:54:35 +02:00
Alex Liu
addcb5cd47
feat(nuxt): support prefetching <nuxt-link> ()
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-09-13 22:20:23 +02:00