Commit Graph

1271 Commits

Author SHA1 Message Date
pooya parsa
ebc27ce997
fix(nuxt): ensure url is not empty string (#4781) 2022-05-05 22:46:54 +02:00
Daniel Roe
f74a523f13
fix(nuxt): use router.resolve to resolve initial url (#4770) 2022-05-03 11:31:58 +02:00
Daniel Roe
1f8e3e2f33
feat(nitro): add nitro:build:before hook (#4304)
* fix(nitro): add back `nitro:generate` hook

* fix: use `nitro:generate` hook for vite workarounds

* fix: remove comment

* fix: only call `nitro:generate` in build mode

* rename hook to `nitro:_build`

* fix: use `nitro:build:before`

* move dev guard

Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-05-02 22:15:47 +02:00
Max Heilmann
ffb9f71312
fix(nuxt): preserve error.data in response (#4755) 2022-05-02 18:34:16 +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
Daniel Roe
2a3fbb4c24
fix(nuxt): mark config head as non-reactive (#4666) 2022-04-29 20:12:54 +02:00
Anthony Fu
256df28124
chore: enable typecheck ci for packages (#4664) 2022-04-29 11:38:22 +02:00
Daniel Roe
ab3971d302
fix(nuxt): use suspense for child pages on client-side navigation (#4677) 2022-04-29 11:37:49 +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
2bfd749c24
feat(pages)!: explicitly allow optional params with [[ (#4537) 2022-04-26 18:10:05 +02:00
Anthony Fu
eb4b8c4c9d
fix(nuxt): cleanup auto imports on regenerate (#4626) 2022-04-26 17:52:39 +02:00
Anthony Fu
46ecbc558d
fix(nuxt): await for router.push on ssr (#4491) 2022-04-22 17:37:52 +02:00
Daniel Roe
650d12fa9c
feat: allow disabling sourcemap generation (#4509) 2022-04-22 17:35:42 +02:00
Daniel Roe
78fcbcf16f
fix(nuxt3): respect custom public dir in layers (#4477) 2022-04-20 22:07:01 +02:00
pooya parsa
3c3291226d
fix(nuxt): skip server build with generate (#4472) 2022-04-20 21:12:04 +02:00
pooya parsa
13a386da90
feat(nuxt): enable nuxt telemetry (#4467) 2022-04-20 20:25:09 +02:00
Daniel Roe
d0ae5851e4
fix(nuxt): return 404 if hitting 404.vue (#4460)
* fix(nuxt): return 404 if hitting `404.vue`

* docs: add info about `pages/404.vue`
2022-04-20 16:24:08 +02:00
Daniel Roe
7b091abcea
fix(nuxt3): default client-side fetch to use baseURL (#4456) 2022-04-20 14:35:33 +02:00
Daniel Roe
d469c9a6d7
fix(nuxt3): don't rely on auto-imports for defineAsyncComponent (#4454) 2022-04-20 12:20:49 +02:00
pooya parsa
4712e99411
refactor!: rename nuxt3 to nuxt (#4449) 2022-04-20 10:52:39 +02:00