1
0
mirror of https://github.com/nuxt/nuxt.git synced 2025-02-23 17:10:07 +00:00
Commit Graph

403 Commits

Author SHA1 Message Date
Daniel Roe
3169c5cec7
feat(nuxt): add onPrehydrate lifecycle hook () 2024-05-07 15:04:21 +01:00
Danila Rodichkin
ea21feaaf4
fix(nuxt): don't overwrite existing scope in runWithContext () 2024-05-03 11:27:38 +01:00
Daniel Roe
505e706dcb
feat(schema): v4 opt-in with future.compatibilityVersion () 2024-04-30 20:34:32 +01:00
Pooya Parsa
fdbfed1280
chore: fix small typos () 2024-04-23 13:53:11 +01:00
Julien Huang
62296818aa
fix(nuxt): don't encode location header () 2024-04-22 22:11:46 +01:00
Joaquín Sánchez
4dbe748cfc
feat(nuxt): expose useLink from NuxtLink () 2024-04-19 12:48:49 +03:00
Ivan Kalachikov
4fea6da1ae
feat(nuxt): add <NuxtRouteAnnouncer> and useRouteAnnouncer () 2024-04-17 16:58:13 +01:00
Julien Huang
30e27f48d1
fix(nuxt): encode location header in navigateTo () 2024-04-10 09:03:25 +02:00
Anthony Fu
f209158352
chore: cleanup eslint rules with latest @nuxt/eslint-config () 2024-04-05 19:08:32 +01:00
Damian Głowala
386be0b866
docs: replace process.* with import.meta.* () 2024-04-02 12:46:05 +01:00
Daniel Roe
cac7454702
refactor(nuxt): rename nuxtMiddleware to appMiddleware 2024-03-16 15:03:09 -07:00
Horu
f9fe282506
feat(nuxt): add nuxtMiddleware route rule () 2024-03-16 11:53:01 -07:00
Daniel Roe
b102d04185
feat(vite): handle multiple/custom public dirs () 2024-03-13 17:18:44 -07:00
Alexander Lichter
536998727a
feat(nuxt): add dedicated #teleports element for ssr teleports () 2024-03-11 07:33:49 -07:00
Daniel Roe
7252b56d52 chore: add back stylistic rules and lint project 2024-03-09 06:48:15 +00:00
Bogdan Kostyuk
98aa2c222f
feat(nuxt): usePreviewMode composable () 2024-03-06 17:14:15 +00:00
Julien Huang
6d93014c52
feat(nuxt): allow using nuxt-client in all components () 2024-03-06 15:26:19 +00:00
Bogdan Kostyuk
230f6b4f19
feat(nuxt): client-only pages () 2024-03-06 14:38:39 +00:00
Daniel Roe
b4bce578c6
fix(nuxt): don't refetch server components in initial html () 2024-03-06 11:55:06 +00:00
Daniel Roe
4fbbc10f62
fix(nuxt): skip vue style blocks in unctx transform () 2024-03-03 21:36:12 +00:00
Julien Huang
196223c0fb
feat(nuxt): server-only pages () 2024-02-26 17:39:26 +00:00
OnlyWick
e817655c14
fix(nuxt): in dev, don't link css files with ?inline query () 2024-02-16 17:04:37 +00:00
Daniel Roe
4f3391fc0a
fix(nuxt): remove undefined keys in route object () 2024-02-07 10:00:19 +00:00
Julien Huang
7dd0225007
fix(nuxt): fetch non-server rendered islands when hydrating () 2024-02-05 10:36:20 +00:00
Enkot
876d910c3f
fix(nuxt): broadcast cookie change in correct format () 2024-02-03 23:15:26 +00:00
Daniel Roe
f1fe97fc8a
fix(nuxt): prioritise later items in pages:routerOptions hook () 2024-01-30 13:55:18 +00:00
Якин Никита
658a0ffed7
feat(nuxt): useId composable ()
Co-authored-by: Daniel Roe <daniel@roe.dev>
Co-authored-by: Sébastien Chopin <seb@nuxt.com>
2024-01-30 09:10:13 +00:00
Daniel Roe
73421483f6
fix(nuxt): improve return type of useRequestEvent () 2024-01-29 11:48:35 +00:00
Enkot
034d1aaa6f
feat(nuxt): refreshCookie + experimental CookieStore support () 2024-01-29 10:37:32 +00:00
Daniel Roe
c446602529
fix(vite): extract styles for shared chunks () 2024-01-28 21:25:42 +00:00
Becem
a551b216ea
fix(nuxt): use default export for raw components () 2024-01-20 20:43:11 +00:00
Becem
10af369436
fix(nuxt): use named import for lazy components () 2024-01-19 21:43:19 +00:00
Pooya Parsa
dab2188d58
feat: experimental client-side Node.js compatibility () 2024-01-18 16:09:27 +00:00
Danila Rodichkin
6b651cf7bf
feat(nuxt): tryUseNuxtApp composable () 2024-01-18 09:59:59 +00:00
Danila Rodichkin
6ca3a6fecb
fix(nuxt): don't share object between raw cookie and cookie ref () 2024-01-17 11:53:14 +00:00
Daniel Roe
653856627c
fix(nuxt): reuse intermediate setup state in <ClientOnly> ()
Co-authored-by: julien huang <julien.huang@outlook.fr>
2024-01-02 21:04:58 +00:00
Daniel Roe
7087a06c6d
fix(nuxt): clone cookie to detect changes within object () 2024-01-02 15:37:19 +00:00
Daniel Roe
32d2c99c5f
refactor(schema): introduce future and features namespace () 2023-12-25 14:03:29 +00:00
Julien Huang
1b93e604d3
feat(nuxt): allow client components within NuxtIsland () 2023-12-19 12:21:29 +00:00
Sébastien Chopin
d26822f3df
feat(nuxt): add callOnce util to allow running code only once () 2023-12-19 11:00:11 +00:00
Harlan Wilton
642d4dc9de
fix(nuxt): eager load island components map () 2023-12-19 10:07:34 +00:00
Daniel Roe
d5c95ad472
fix(nuxt): revert async transform of setup within defineComponent () 2023-12-16 11:09:41 +00:00
Daniel Roe
db3a9f0554
feat(nuxt): transform setup within defineComponent options () 2023-12-14 21:00:36 +00:00
Julien Huang
5877e11c89
feat(nuxt): allow plugins to specify dependencies () 2023-12-14 17:11:08 +00:00
Daniel Roe
7827f1843b
feat(kit): load /module or /nuxt module subpath if it exists () 2023-12-12 17:55:21 +00:00
Alexander Lichter
70dea8b83c
feat(nuxt): add path to error.data when throwing 404 errors () 2023-12-11 20:30:59 +00:00
Harlan Wilton
0f705f3d4a
fix(nuxt): island components with number prefix () 2023-11-28 22:06:32 +00:00
Julien Huang
0eb9caf0c2
fix(nuxt): remove experimental reactivityTransform (vue 3.4) () 2023-11-27 23:02:02 +00:00
Pooya Parsa
1012dc0dbd
fix(nuxt): avoid recursive ssr errors () 2023-11-22 09:58:29 +00:00
Aaron_Zhou
5493d60c4a
fix(nuxt): provide route component names to KeepAlive cache () 2023-11-14 16:56:31 +00:00
Daniel Roe
c1ddb359e3
chore: update to use @nuxt/eslint-config ()
Co-authored-by: Damian Głowala <damian.glowala.rebkow@gmail.com>
2023-11-09 18:01:13 +01:00
Daniel Roe
9bab21edbc
test: add route-provider e2e test () 2023-11-09 03:21:19 +00:00
webfansplz
ea3ce937e6
fix(nuxt): handle async children in ClientFallback () 2023-11-03 21:04:26 +00:00
Daniel Roe
ebb5767b9c
fix(kit): fix addServerImportsDir implementation () 2023-10-31 14:16:01 +01:00
Daniel Roe
dce8ebb336
test: await before asserting console logs () 2023-10-31 13:56:28 +01:00
ordago
995cba84a2
docs: fix typos () 2023-10-25 09:36:04 +09:00
Julien Huang
a037512562
fix(nuxt): render a div when client-only hydrates w/o element () 2023-10-25 09:34:22 +09:00
Bjorn Lu
88ce9abbdf
test: update basic fixture config for vite 5 () 2023-10-22 10:08:43 +02:00
Daniel Roe
108b1bdf72 fix(nuxt): restore prerenderedAt behaviour pending next patch 2023-10-19 15:24:38 +01:00
Daniel Roe
8d62c2add2 test: update prerender test 2023-10-19 15:15:00 +01:00
warflash
f4d67a9bcd
fix(nuxt): refetch both undefined/null values in useAsyncData () 2023-10-16 20:20:02 +01:00
Julien Huang
24b629e82e
fix(nuxt): skip hydration mismatches with client components () 2023-10-16 14:09:54 +01:00
Daniel Roe
458acbb8e1
fix(nuxt): give priority to later middleware when deduping () 2023-10-12 23:21:02 +01:00
Ezra Adeyinka
8db82af3a9
chore: fix various typos and update to US English () 2023-10-10 12:14:55 +01:00
Daniel Roe
4063b498d3
feat(nuxt): enable appManifest by default () 2023-09-30 10:58:55 +01:00
Daniel Roe
a06d5247ca
feat(nuxt): add prerenderRoutes ssr composable () 2023-09-28 11:54:22 +01:00
Julien Huang
2b273fa8e1
feat(kit): add addServerImports and addServerImportsDir () 2023-09-28 11:08:02 +01:00
Daniel Roe
7dce07653c
fix(nuxt): experimental build manifest + client route rules () 2023-09-19 22:31:18 +01:00
Pooya Parsa
2bf9028f7e
refactor(kit,nuxt,schema): use consola and improve test dx () 2023-09-19 22:26:15 +01:00
Daniel Roe
137c0b6054
fix(nuxt): don't incl overridden layer pages as nested children () 2023-09-16 09:53:37 +01:00
Joaquín Sánchez
bc8a1fa614
fix(nuxt): load layer middlewares before project middlewares () 2023-09-16 09:39:51 +01:00
Daniel Roe
e729406805
fix(nuxt): use original escapes/quotes in page re-exports () 2023-09-14 07:06:07 +01:00
Daniel Roe
a95fd28725
fix(nuxt): allow importing server components from #components () 2023-09-13 23:35:53 +01:00
Daniel Roe
15e6dfb560
fix(nuxt): allow granularly overriding pages in layers () 2023-09-12 10:46:35 +01:00
Julien Huang
48fb6e243b
fix(nuxt): scroll to top by default on dynamic routes () 2023-09-06 20:44:59 +01:00
Joaquín Sánchez
89c4436ae1
fix(nuxt): load layer plugins before project plugins () 2023-09-04 23:41:51 +01:00
Alex Liu
2d46971162
fix(nuxt): ensure middleware is processed when returning true () 2023-08-31 10:19:26 +01:00
Daniel Roe
54a6eab406
feat(kit,nuxt): respect nuxt ignore patterns in nitro () 2023-08-25 13:08:38 +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
Harlan Wilton
d50a416304
feat(nuxt): add experimental.headNext unhead integration () 2023-08-14 20:33:00 +01:00
Daniel Roe
b2cea4927e
feat(nuxt): allow experimental global: 'sync' components () 2023-08-09 12:19:00 +01:00
Daniel Roe
53c706b575
test: remove JS payload test + add non-async context test () 2023-08-08 10:45:37 +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
Harlan Wilton
ac93558aa6
fix(nuxt): broken capo.js injectHead usage () 2023-08-03 07:15:43 +01:00
Daniel Roe
5926bbeff8
feat(nuxt): allow 'lazy' (non-blocking) server components () 2023-07-31 09:51:09 +01:00
Julien Huang
0f839dd723
feat(nuxt): environment-specific plugin execution for islands () 2023-07-30 22:36:11 +01:00
Anthony Fu
e3437c67d6
fix(nuxt): components auto-import for JSX () 2023-07-26 05:30:44 +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
c10a624052 chore: add explicit vue dependency in fixtures 2023-07-06 13:07:17 +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