Daniel Roe
f16cce8824
fix(nuxt): compatible route object for custom external routes ( #19261 )
2023-02-27 07:13:14 -08:00
igayamaguchi
9e6fa9f7ba
fix(nuxt): preserve explicit rel
attribute on internal link ( #19309 )
2023-02-27 13:29:57 +01:00
Daniel Roe
7479d469dd
fix(nuxt): log errors thrown when booting the nuxt app ( #19187 )
2023-02-21 07:06:10 -08:00
Alex Liu
268cded26c
fix(nuxt): prefetch object-syntax routes with <NuxtLink>
( #19144 )
2023-02-20 12:31:27 -08:00
Daniel Roe
af55b9882e
fix(nuxt): test generated pathname
2023-02-16 17:16:51 +00:00
Daniel Roe
e9ff34ace4
fix(nuxt): restore previous check on payload url
2023-02-16 16:59:06 +00:00
Daniel Roe
7aa35ff958
fix(nuxt): validate no //
in path when constructing payload url ( #19085 )
2023-02-16 06:40:51 -08:00
Nathan Chase
681cfa83fd
perf(nuxt): animate transform rather than width ( #19073 )
2023-02-16 05:04:09 -08:00
Daniel Roe
96b09ea982
feat(nuxt): add experimental app:chunkError
hook and reload strategy ( #19038 )
2023-02-16 04:43:58 -08:00
Xin Du (Clark)
859fbd0add
fix(nitro): ensure ssr error statusCode
is a number ( #19001 )
2023-02-13 22:55:29 +00:00
Daniel Roe
6016aef859
fix(nuxt): expose nuxt/schema
subpath for augmentation ( #18922 )
2023-02-13 22:42:04 +00:00
Lioness100
b25b6c82c7
docs: fix typos ( #18976 )
2023-02-12 19:16:42 +00:00
Daniel Roe
ee2f568fc1
refactor(nuxt): combine imports from same relative path
2023-02-10 10:32:02 +01:00
Daniel Roe
71d67ad47f
chore: combine import statements
2023-02-09 09:13:48 +01:00
Daniel Roe
9a035a15c5
refactor(nuxt): within nuxt app, import directly from source file ( #18902 )
2023-02-08 22:26:41 -08:00
pooya parsa
9845467421
feat(nuxt): upgrade to nitropack 2.2 ( #18889 )
2023-02-09 07:02:07 +01:00
Dany Sluijk
bae73c3650
feat(nuxt): infer useFetch
return based on the method ( #18526 )
2023-02-07 06:01:31 -08:00
Alex Liu
526a78095a
fix(nuxt): defer adding route path to preloaded record ( #18862 )
2023-02-07 06:01:03 -08:00
Daniel Roe
39747ce095
perf(vite): use stub entry in vite server build when ssr: false
( #18782 )
2023-02-06 15:25:24 -08:00
Daniel Roe
cb0860ba6c
fix(nuxt): make onNuxtReady
safe to run on server-side ( #18706 )
2023-02-02 05:27:48 -08:00
Daniel Roe
7d812db9e8
fix(nuxt): augment interfaces exported from vue
( #18505 )
2023-01-25 07:59:02 -08:00
Daniel Roe
629d2c099e
fix(nuxt): import onServerPrefetch
2023-01-23 23:40:09 +00:00
Daniel Roe
de4086f6ed
fix(nuxt): let router handle internal redirects within middleware ( #18445 )
2023-01-23 11:18:33 +00:00
Daniel Roe
c5d6db7fd0
fix(nuxt): await async callWithNuxt
calls ( #18443 )
2023-01-23 11:13:21 +00:00
Daniel Roe
0236a799f2
fix(vite): don't skip loading styles in hydration phase ( #18433 )
2023-01-21 23:15:48 +00:00
Kareem Dabbeet
ea9812a559
feat(nuxt): allow disabling color for <NuxtLoadingIndicator>
( #18432 )
2023-01-21 23:15:32 +00:00
Alan Poulain
50e23bad35
fix(nuxt): use query for hashing the fetch key ( #18411 )
2023-01-20 18:05:10 +00:00
Daniel Roe
5e1881c20a
feat(nuxt): support server components with extracted payloads ( #10113 )
2023-01-20 12:10:58 +00:00
Daniel Roe
0db3c6373a
fix(nuxt): name anonymous components in render tree ( #10011 )
2023-01-14 01:27:38 +00:00
renovate[bot]
0b1cdcc70d
chore(deps): update devdependency @nuxtjs/eslint-config-typescript to v12 ( #9086 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-01-14 01:13:48 +00:00
Mohammad Saleh Fadaei
5b19a0dc34
fix(nuxt): don't try to override computed layouts in definePageMeta
( #9161 )
2023-01-14 00:58:54 +00:00
Sébastien Chopin
71a5727589
fix(nuxt): support deep assign on empty object for app config ( #10087 )
2023-01-13 23:28:07 +00:00
Daniel Roe
a68da6d6a7
chore: case police update ( #10085 )
2023-01-13 15:00:57 +00:00
Alex Liu
9de94c21cf
refactor: improve internal type definitions of <NuxtLink>
( #9869 )
2023-01-10 14:33:21 +00:00
Alejandro Romano
7f4f10a733
fix(nuxt): set is loading state for <NuxtLoadingIndicator>
after throttle ( #9832 )
2023-01-02 19:20:53 +01:00
Mehdi HosseinZade
04c8625843
feat(nuxt): deep watch useCookie
ref value by default ( #9664 )
...
* feat(nuxt): useCookie add deep watch option
* docs(api): useCookie add deepWatch option
* feat(nuxt): useCookie change deepWatch to watch option
* boolean|shallow
* enable watch by default
* docs: fix example
* docs(api): update useCookie example
Co-authored-by: Pooya Parsa <pooya@pi0.io>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-12-19 12:50:46 +01:00
renovate[bot]
3733f123df
chore(deps): update all non-major dependencies ( #9670 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-12-12 16:45:15 +00:00
Daniel Roe
5afcaca98f
feat(vite): upgrade to vite 4 ( #9238 )
2022-12-12 15:22:04 +00:00
Daniil Chudo
ab2456c295
refactor: split out type imports from value imports ( #9225 )
2022-12-11 21:44:52 +00:00
Evgeny Yurkin
4641e8e504
fix(nuxt): await plugin asyncdata promises in nuxt hook ( #9616 )
2022-12-10 22:44:29 +00:00
Mahdi Boomeri
9c478ee16e
feat: useNuxtData
composable ( #9262 )
...
Co-authored-by: Daniel Roe <daniel@roe.dev>
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-12-05 14:07:33 +01:00
Daniel Roe
5fe7c1c24d
fix(nuxt): speculation rules should be reactive ( #9472 )
2022-12-05 11:46:13 +01:00
Daniel Roe
4c4249dc33
feat(nuxt): add onNuxtReady
composable ( #9478 )
2022-12-05 11:09:58 +01:00
Daniel Roe
52421a9354
fix(nuxt): defer render-blocking prefetches until after load ( #9475 )
2022-12-02 16:13:35 +00:00
Daniel Roe
c26979a047
fix(nuxt): useCookie
with defaults should return non-null value ( #9449 )
2022-12-02 10:45:33 +01:00
Daniel Roe
aa9aec112a
fix(nuxt): allow layouts to receive custom props ( #9395 )
2022-11-29 13:16:41 +01:00
Daniel Roe
ab125bd1c5
feat(nuxt): experimental server component islands ( #5689 )
...
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-11-24 13:24:14 +01:00
Toby Faux
32044dc8a5
fix(nuxt): allow union type arguments for useAsyncData
( #9061 )
2022-11-16 15:27:24 +01:00
pooya parsa
5ac9d85a49
refactor!: remove deprecated api ( #9029 )
2022-11-16 03:26:35 +01:00
Daniel Roe
f7850526e8
fix(nuxt)!: include request url and params in useFetch
key ( #6632 )
2022-11-15 17:47:41 +01:00
Daniel Roe
2c2fbdffc9
refactor(nuxt)!: move head
option support into defineNuxtComponent
( #8901 )
2022-11-15 15:47:17 +01:00
pooya parsa
b49f2a8147
refactor: update unjs dependencies to stable v1 ( #9011 )
2022-11-15 15:33:43 +01:00
Julien Huang
8c4ff5c585
fix(nuxt): avoid passing attrs to default slot for ClientOnly ( #8921 )
2022-11-14 11:27:57 +01:00
Daniel Roe
e6351349c0
feat(nuxt): add onBeforeRouteLeave
and onBeforeRouteUpdate
composables ( #8889 )
2022-11-10 14:52:04 +01:00
pooya parsa
52c2bffa76
fix(nuxt)!: remove initialCache
option ( #8885 )
2022-11-10 14:27:59 +01:00
pooya parsa
0ff4ebe808
feat: allow customizing root id and tag ( #8883 )
2022-11-10 12:41:02 +01:00
renovate[bot]
dd600bbb66
chore(deps): update all non-major dependencies ( #8779 )
2022-11-10 10:43:24 +01:00
Daniel Roe
17099348e7
fix(nuxt)!: only add $f
fetch prefix to auto-keys ( #8852 )
2022-11-10 09:39:49 +01:00
Daniel Roe
3839dba06a
refactor(nuxt): explicitly import app in nuxt-root ( #8729 )
2022-11-09 10:14:15 +01:00
Daniel Roe
aec07f4255
style: lint Route
interface ( #8822 )
2022-11-09 10:08:50 +01:00
Daniel Roe
4d1be089d7
chore(nuxt): remove unused plugins ( #8819 )
2022-11-09 10:07:22 +01:00
Alexander Lichter
0cf0f59bc5
fix(ssr): ensure useRequestHeaders are case-insensitive ( #8805 )
...
Co-authored-by: Haruaki OTAKE <aaharu@hotmail.com>
2022-11-09 10:04:19 +01:00
Alexander Lichter
15d4cea97e
feat(nuxt-link): add isExternal
to slot props ( #8800 )
2022-11-09 10:02:11 +01:00
Daniel Roe
e76ebdddd0
fix(nuxt): allow cookies to be set to null
to unset them ( #8769 )
...
Co-authored-by: Magyar Balázs <magyarb94@gmail.com>
2022-11-09 09:59:23 +01:00
pooya parsa
19a2cd1492
fix(nuxt): ensure payload url has no protocol ( #8675 )
2022-11-03 23:28:13 +01:00
Daniel Roe
bdacfa6ffe
fix(nuxt): pass async-data errors through to client ( #8521 )
2022-11-02 10:07:28 +01:00
Sacha STAFYNIAK
b010e3e861
feat: add dev-only component ( #7950 )
2022-10-26 14:43:37 +02:00
Daniel Roe
1d795f0274
fix(nuxt): call data refresh hook in parallel ( #8470 )
2022-10-25 17:29:35 +02:00
Daniel Roe
91eab1b312
feat(nuxt): add dev warnings when setPageLayout
is used incorrectly ( #8464 )
2022-10-25 14:25:49 +02:00
Daniel Roe
59d8c51b5b
refactor(schema)!: disable app.pageTransition
and app.layoutTransition
by default ( #8436 )
2022-10-24 17:23:49 +02:00
Daniel Roe
6bcd9cdeb1
fix(nuxt): avoid directly importing vue-router
inside <NuxtLayout>
( #8421 )
2022-10-24 10:36:49 +02:00
Daniel Roe
e1ab5cf6d6
fix(nuxt): don't load payloads for external urls ( #8370 )
2022-10-21 10:27:58 +02:00
Daniel Roe
69a6a86d7c
feat(nuxt): make useFetch
options reactive ( #8374 )
2022-10-21 10:13:14 +02:00
Joel Wenzel
ba3a11800c
feat(nuxt): default router scroll behavior ( #3851 )
...
Co-authored-by: joel <joel.wenzel@flexagon.com>
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-10-19 14:43:03 +02:00
Daniel Roe
d3f3f9f348
fix(nuxt): don't use or assignment ( #8299 )
2022-10-19 09:55:32 +02:00
Daniel Roe
a90b303d97
fix(nuxt): avoid preloading external routes ( #8255 )
2022-10-17 19:54:32 +02:00
Daniel Roe
2a4ebfb18b
perf(nuxt): improve link prefetching ( #8225 )
2022-10-17 13:15:29 +02:00
pooya parsa
895ecc7677
feat!: upgrade to nitropack@0.6
and h3@0.8
( #8218 )
2022-10-15 20:42:57 +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
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
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
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
菜狗
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
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
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
Daniel Roe
3ed63a6b70
fix(nuxt): do not pass prefetched class to custom link ( #7522 )
2022-09-15 09:52:21 +02:00
pooya parsa
9024d76165
fix(nuxt): add payload.client
plugin only for production build ( #7498 )
2022-09-14 15:01:02 +02:00
Daniel Roe
ee75b48526
refactor(nuxt): use relative imports into composables ( #7487 )
2022-09-14 11:22:03 +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
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
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
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
Anthony Fu
96b5b8fd6d
fix(nuxt): import and wrap client-only components once ( #7245 )
2022-09-06 09:40:25 +02:00
HomWang
1fc34e6c06
chore: lint ( #7213 )
2022-09-04 10:31:57 +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
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
Daniel Roe
d7b2d32b5e
chore(nuxt): prevent error page rendering a null error ( #7119 )
2022-08-31 22:19:28 +02:00
renovate[bot]
e38e1de740
refactor: apply lints from @nuxtjs/eslint-config-typescript
v11 ( #7114 )
...
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-08-31 20:34:17 +02:00
Daniel Roe
b90d286631
feat(nuxt): add setPageLayout
utility ( #6826 ) ( #7075 )
...
Co-authored-by: HomWang <516310460@qq.com>
2022-08-31 10:02:48 +02:00
pooya parsa
afc9d9bfc8
perf(nuxt): tree-shake asyncData client logic from server ( #7056 )
...
Co-authored-by: Ohb00 <43827372+OhB00@users.noreply.github.com>
2022-08-30 12:48:26 +02:00
pooya parsa
5a17458af5
fix(nuxt): use shared state for asyncData ( #7055 )
...
Co-authored-by: Ohb00 <43827372+OhB00@users.noreply.github.com>
2022-08-30 12:34:09 +02:00
Anthony Fu
9db2229f70
refactor: enable strict type checking everywhere ( #6943 )
2022-08-26 17:47:29 +02:00
Daniel Roe
403e0e6e6d
fix(nuxt): lazy composables shouldn't block setup in ssr: false
( #6901 )
2022-08-24 21:05:28 +02:00
Yaël Guilloux
1700bf822e
feat(nuxt): app.config
improvements ( #6905 )
2022-08-24 18:35:02 +02:00
Alexander Lichter
a4dfe232f0
feat(nuxt): navigateTo
supports external redirects ( #5022 )
...
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-08-24 18:04:56 +02:00
Daniel Roe
f3499d788a
feat(nuxt): allow programmatically prefetching global components ( #6661 )
...
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-08-23 21:12:22 +02:00
Daniel Roe
fc82b3b340
feat(nuxt): config options for default keepalive, page & layout transitions ( #5859 )
2022-08-23 16:24:20 +02:00
Daniel Roe
cfb7e59171
feat(nuxt): add warning in dev mode if layouts/pages do not have a single root node ( #5469 )
2022-08-23 12:25:48 +02:00
TheColaber
9f1ecd14c4
feat(nuxt): allow getRouteFromPath
to use objects ( #5900 )
2022-08-22 18:08:43 +02:00
Anthony Fu
e1e39b7e79
refactor(nuxt, kit): improve type strictness ( #6685 )
2022-08-22 12:12:02 +02:00
pooya parsa
3b2b22e384
fix(nuxt): use deep assignment for app.config hmr ( #6788 )
2022-08-22 11:14:25 +02:00
Julien Huang
c688e1898c
fix(nuxt): pass params to client-only slot ( #6584 )
2022-08-17 17:26:51 +02:00
pooya parsa
94f76ea930
feat(nuxt): app.config
with hmr and reactivity support ( #6333 )
...
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-08-17 17:23:13 +02:00
Daniel Roe
33e7fc1752
fix(nuxt): don't set asyncData to existing payload on CSR if initialCache
is disabled ( #6640 )
2022-08-15 15:55:46 +02:00
Anthony Fu
f350a70775
refactor(nuxt): enable strict type checking ( #6368 )
...
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-08-12 19:47:58 +02:00
pooya parsa
24a499d285
fix(nuxt)!: allow app:rendered
to modify ssr context and add render:html
( #6521 )
2022-08-11 18:34:39 +02:00
Daniel Roe
5232c1b5b4
fix(nuxt): immediately call asyncData
handler ( #6472 )
2022-08-09 23:48:48 +02:00
YuTin Liu
03cd6717ce
fix(nuxt): handle immediate errors when calling useAsyncData
( #6441 )
2022-08-09 10:01:25 +02:00
Daniel Roe
46f36a4038
fix(nuxt): use payload error state as source of truth ( #6389 )
2022-08-08 16:33:31 +02:00
pooya parsa
4ec68db323
fix(nuxt): do not log 404
and showError
as fatal by default ( #6437 )
2022-08-08 14:11:50 +02:00
Daniel Roe
41d6f372a7
feat(nuxt): update to vue-bundle-renderer@0.4
( #6210 )
2022-08-07 11:52:34 +02:00
Daniel Roe
4623525f3f
fix(nuxt): type useRoute
return ( #6395 )
2022-08-07 06:57:11 +02:00
renovate[bot]
6d64aff6f2
chore(deps): update dependency unctx to v2 ( #6340 )
...
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-08-04 13:00:01 +02:00
Daniel Roe
4732d2ce3a
fix(nuxt): better equality check for json cookies ( #6352 )
2022-08-04 12:58:15 +02:00
Daniel Roe
fbe2459255
fix(nuxt): remove literal <script setup>
from comment ( #6331 )
2022-08-03 13:49:09 +02:00
Daniel Roe
4379e9d922
feat(nuxt): add setResponseStatus
utility ( #6306 )
2022-08-02 18:01:59 +02:00
Julien Huang
2cdaf8065c
feat(nuxt): remove wrapper from client only components ( #6165 )
...
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-08-02 17:05:02 +02:00
Daniel Roe
c72093b1f2
fix(nuxt): separate routes for different suspense forks ( #6275 )
2022-08-02 11:58:03 +02:00
pooya parsa
f58aa8114f
feat(nuxt): app:rendered
and app:response
hooks ( #6042 )
2022-07-27 11:53:53 +02:00
hecateball
e08a493bac
fix(nuxt): add error event declaration to the <NuxtErrorBoundary>
component ( #6141 )
2022-07-26 15:36:58 +02:00
David Tai
3a822c7177
refactor(nuxt): enhance useFetch
and useLazyFetch
request type ( #4825 )
...
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-07-25 14:37:39 +02:00
Daniel Roe
78618f1f21
feat(nuxt): improve error dx for users ( #4539 )
...
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-07-21 16:29:03 +02:00
Daniel Roe
92269dde44
fix(nuxt)!: change statusCode
type to number for error page template ( #6010 )
2022-07-20 19:00:42 +02:00
Daniel Roe
dce07e5831
fix(nuxt): lazy load and tree-shake error templates ( #5930 )
...
Co-authored-by: Pooya Parsa <pooya@pi0.io>
Co-authored-by: Kevin Marrec <kevin@marrec.io>
2022-07-16 00:15:31 +02:00
Daniel Roe
1ced224389
fix(nuxt): warn about legacy and invalid plugins ( #5857 )
...
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-07-12 19:06:55 +02:00
Anthony Fu
c95a48c632
feat(nuxt): add <NuxtLoadingIndicator>
component ( #5121 )
...
Co-authored-by: Damian <48835293+DamianGlowala@users.noreply.github.com>
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-07-07 19:59:55 +02:00
Francisco Buceta
38e0fa6e1e
feat(nuxt3): support custom
prop for <nuxt-link>
( #4249 )
...
Co-authored-by: Daniel Roe <daniel@roe.dev>
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-07-07 19:28:23 +02:00
Daniel Roe
23546a270c
feat(nuxt): automatically generate unique keys for keyed composables ( #4955 )
...
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-07-07 18:26:04 +02:00
Pooya Parsa
8d2f805770
fix(nuxt): handle undefined
when applying defaults for useAsyncData
...
issue appeared as a regression of #5660
2022-07-07 00:12:31 +02:00
mrauhu
93d60a30de
feat(nuxt): allow passing custom fetch options to useFetch
( #5660 )
2022-07-06 21:17:59 +02:00
Daniel Roe
b5f5f7d5ba
perf(nuxt)!: remove legacy app context ( #5630 )
2022-07-06 21:15:00 +02:00
Daniel Roe
f09d1d88da
fix(nuxt): update useFetch
key warning to include any function or blob ( #5710 )
...
* fix(nuxt): update `useFetch` key warning to include any function or blob
* Update packages/nuxt/src/app/composables/fetch.ts
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-07-06 21:09:46 +02:00
Daniel Roe
490d686fe6
fix(nuxt): useRequestHeaders
type should allow for undefined
values ( #5748 )
2022-07-06 21:00:08 +02:00
Daniel Roe
fe508f5d20
fix(nuxt): pass attrs and props to client-only components ( #5668 )
2022-06-30 16:08:05 +02:00
Daniel Roe
8c2c80e43e
feat(nuxt)!: support universal global middleware ( #5038 )
2022-06-27 14:10:29 +02:00
Daniel Roe
d7d97cd7d1
fix(nuxt): prefer nuxt app context over getCurrentInstance
( #5456 )
2022-06-15 14:00:34 +02:00
Anthony Fu
eafd92c457
fix(types): tidy types for useAsyncData
( #5340 )
2022-06-08 21:45:12 +02:00
Daniel Roe
822928b07e
fix(nuxt): add ssrContext
types on NuxtApp
( #5333 )
2022-06-08 21:37:50 +02:00
Daniel Roe
1fda73267a
fix(nuxt): respect navigateTo
options using server middleware in server-side ( #5145 )
2022-06-01 00:09:32 +02:00
Anthony Fu
fca2ed7cc5
fix(nuxt): default statusCode of navigateTo
from 301
to 302
( #5173 )
...
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-05-31 23:28:52 +02:00
Daniel Roe
cad4edd5a3
fix(nuxt): respect baseurl when redirecting (and universal router) ( #4933 )
...
* fix(nuxt): respect baseurl when redirecting (and universal router)
* test: add test case for redirect
2022-05-11 19:33:29 +02:00
renovate[bot]
7e89fe8f6c
chore(deps): update all non-major dependencies ( #4914 )
...
* chore(deps): update all non-major dependencies
* update lock
* fix: update types
* fix: update error type
* test: update useFetch url
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-05-11 14:32:05 +02:00
Sébastien Chopin
9e5a3cdc6f
fix(nuxt): avoid redirect with different encoding and trailing slash ( #4857 )
...
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-05-06 18:02:50 +02:00
Jalil Wahdatehagh
5816fee892
fix(nuxt): add missing import to client only wrapper ( #4851 )
2022-05-06 15:32:29 +02:00
Daniel Roe
87c62513fa
fix(nuxt): await asyncData if ssr: false
( #4791 )
2022-05-06 13:04:01 +02:00
Daniel Roe
b29f635646
fix(nuxt): normalise window location for universal router ( #4841 )
2022-05-06 13:02:35 +02:00
Daniel Roe
750460693e
fix(nuxt): check if default slot is provided before calling it ( #4842 )
2022-05-06 12:52:08 +02:00
Daniel Roe
27d67360e4
fix(nuxt): clear errors after navigation ( #4839 )
2022-05-06 12:50:54 +02:00
pooya parsa
ebc27ce997
fix(nuxt): ensure url is not empty string ( #4781 )
2022-05-05 22:46:54 +02:00
Daniel Roe
4826918ed0
fix(nuxt): process middleware after plugins ( #4645 )
2022-05-02 12:00:08 +02:00
Alex Liu
eb903bd66e
fix(nuxt3): improve error types for useAsyncData
and useFetch
( #4210 )
...
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-04-29 20:42:22 +02:00
Anthony Fu
256df28124
chore: enable typecheck ci for packages ( #4664 )
2022-04-29 11:38:22 +02:00
Daniel Roe
7e912e7bf4
fix(nuxt): warn to provide a key for useFetch
with transform
option ( #4590 )
2022-04-27 18:19:10 +02:00
Daniel Roe
7b091abcea
fix(nuxt3): default client-side fetch to use baseURL ( #4456 )
2022-04-20 14:35:33 +02:00
pooya parsa
4712e99411
refactor!: rename nuxt3 to nuxt ( #4449 )
2022-04-20 10:52:39 +02:00