Commit Graph

3178 Commits

Author SHA1 Message Date
Daniel Roe
3dd9271c09
docs: add initial documentation for router composables (#8895) 2022-11-10 15:07:47 +01:00
Daniel Roe
e6351349c0
feat(nuxt): add onBeforeRouteLeave and onBeforeRouteUpdate composables (#8889) 2022-11-10 14:52:04 +01:00
Toby Faux
3e34a61506
fix(nuxt): use app.baseURL when fetching error page on server (#8888)
Co-authored-by: Toby Faux <tobyfaux@Tobys-MacBook-Pro.local>
2022-11-10 14:42:55 +01:00
pooya parsa
52c2bffa76
fix(nuxt)!: remove initialCache option (#8885) 2022-11-10 14:27:59 +01:00
pooya parsa
83b5c09090
fix(nuxt): preserve render errors (#8884)
* fix(nuxt): preserve render errors

* simplify logic
2022-11-10 13:28:20 +01:00
pooya parsa
0ff4ebe808
feat: allow customizing root id and tag (#8883) 2022-11-10 12:41:02 +01:00
Daniel Roe
9227361027
fix(nuxt): detect non-functional imports within page meta (#8881) 2022-11-10 11:31:01 +01:00
Pooya Parsa
be8036098f chore: lint docs 2022-11-10 10:56:36 +01:00
Pooya Parsa
e3af5684f7 chore: update lockfile 2022-11-10 10:56:01 +01:00
Stefan
3b5571376c
docs: add query option with example for useFetch (#8719) 2022-11-10 10:47:50 +01:00
Krutie Patel
0cac5c710c
docs(api): add useHydration composable (#8768) 2022-11-10 10:46:21 +01:00
Daniel Roe
571512833d
docs: get event before running async function (#8861) 2022-11-10 10:44:26 +01:00
renovate[bot]
84c26fa6fb
chore(deps): update dependency ultrahtml to v1 (#8864)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-10 10:43:36 +01:00
renovate[bot]
dd600bbb66
chore(deps): update all non-major dependencies (#8779) 2022-11-10 10:43:24 +01:00
Daniel Roe
46cf2566f1
fix(test-utils)!: use vitest/node subpath export (#8815) 2022-11-10 10:27:56 +01:00
Krutie Patel
2bc3c18dfa
docs(api): add refreshNuxtData util examples (#8845)
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
2022-11-10 10:08:42 +01:00
Daniel Roe
c32c1d0623
fix(nuxi): exclude dist from type checking (#8848) 2022-11-10 09:45:17 +01:00
Horu
62bbb91446
fix(test-utils): detect project root using nuxt.config with .mjs and .cjs extensions (#8855)
* fix(test-util): fix `.mjs` config file edge case

* Update packages/test-utils/src/nuxt.ts

Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-11-10 09:43:32 +01:00
Daniel Roe
8d30e97b91
docs: add entry for extendPages (#8860) 2022-11-10 09:41:34 +01:00
Daniel Roe
17099348e7
fix(nuxt)!: only add $f fetch prefix to auto-keys (#8852) 2022-11-10 09:39:49 +01:00
pooya parsa
1496d3a07d
feat(nuxi): wrap and normalize all console outputs (#8846) 2022-11-09 11:55:40 +01:00
Daniel Roe
4bbd2618ce
feat(nuxt): auto-import utils/ directory (#8817) 2022-11-09 10:43:16 +01:00
Daniel Roe
3839dba06a
refactor(nuxt): explicitly import app in nuxt-root (#8729) 2022-11-09 10:14:15 +01:00
Daniel Roe
453ce78300
fix(nuxt): swallow issues with query selectors (#8843) 2022-11-09 10:10:32 +01:00
Krutie Patel
14307d1327
docs(api): add useRequestHeaders composable example (#8833)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-11-09 10:09:48 +01:00
Daniel Roe
aec07f4255
style: lint Route interface (#8822) 2022-11-09 10:08:50 +01:00
Daniel Roe
5a32927935
fix(nuxt): do not render page if we are throwing error (#8821) 2022-11-09 10:08:37 +01:00
Daniel Roe
4d1be089d7
chore(nuxt): remove unused plugins (#8819) 2022-11-09 10:07:22 +01:00
Cue
f26c97f05a
chore(examples): update event context (#8814) 2022-11-09 10:05:52 +01:00
Daniel Roe
10c2272f4f
refactor(nuxt)!: remove support for 404.vue shorthand (#8809) 2022-11-09 10:05: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
4e8f59bf70
fix(schema): add declarations to ignore list (#8787) 2022-11-09 10:01:09 +01:00
Daniel Roe
30d99477ce
fix(nuxt): add catchall paths to prerender list (#8782) 2022-11-09 10:00:34 +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
Sébastien Chopin
1582f8ec01 docs: improve examples content 2022-11-08 18:03:18 +01:00
Sébastien Chopin
8e4068b725 docs(deployment): remove usage of custom icons 2022-11-08 17:21:08 +01:00
Sébastien Chopin
507f444c07 docs: remove stability-edge 2022-11-08 12:47:46 +01:00
Clément Ollivier
81831c09eb
chore: bump nuxt version in examples (#8801) 2022-11-08 11:14:27 +01:00
Iljs Путлер Капут
07dc5fd01e
docs: use update import for defineLazyEventHandler (#8767) 2022-11-07 12:47:38 +01:00
pooya parsa
12767fffd3
docs: update roadmap for november (#8766) 2022-11-07 12:46:27 +01:00
renovate[bot]
ab3c65a975
chore(deps): update all non-major dependencies (#8707)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-07 11:36:10 +01:00
Maxim Morev
7040d7a58d
refactor(nuxt)!: fix typo for NuxtRenderHTMLContext.bodyPrepend (#8704) 2022-11-07 11:30:59 +01:00
Agénor Debriat
b60f1364c5
refactor(nuxt)!: fix typo for NuxtRenderHTMLContext.bodyPrepend (#8712) 2022-11-07 11:29:41 +01:00
cx33
2376c1147f
docs: Update 2.nuxt-page.md (#8761) 2022-11-07 10:16:34 +01:00
Sébastien Chopin
fe433a4222
fix(nuxt): check if global transitions are activated for scroll behavior (#8700) 2022-11-04 19:09:28 +01:00
pooya parsa
bde9694733
v3.0.0-rc.13 (#8657) 2022-11-04 12:37:49 +01:00
Sébastien Chopin
bae410eea2 docs: upgrade website-theme 2022-11-04 11:07:10 +01:00
pooya parsa
19a2cd1492
fix(nuxt): ensure payload url has no protocol (#8675) 2022-11-03 23:28:13 +01:00
pooya parsa
44b4100e4c
fix(vite): enable fs strict mode (#8674) 2022-11-03 23:03:15 +01:00