1
0
mirror of https://github.com/nuxt/nuxt.git synced 2025-03-26 10:57:32 +00:00
Commit Graph

1186 Commits

Author SHA1 Message Date
Lucas Vargas
ffd0223583
feat(vite,webpack): tree-shakable import.meta.* build flags () 2023-08-07 23:03:40 +01:00
Daniel Roe
305d6de030
feat(nuxt): use build plugin to access nuxt route injection () 2023-08-07 14:19:48 +01:00
Daniel Roe
f4ee12e6ba
fix(nuxt): resolve type import paths () 2023-08-07 14:19:32 +01:00
Daniel Roe
ae8314b236
chore: refresh lockfile () 2023-08-07 14:03:41 +01:00
Daniel Roe
8eefb65489 chore: remove unused import 2023-08-05 14:27:06 +01:00
Daniel Roe
14bf2b02f9 fix(nuxt): remove unused normalize call 2023-08-05 09:42:55 +01:00
Daniel Roe
9b0d371b01 fix(nuxt): use internal:nuxt namespace 2023-08-04 08:54:09 +01:00
Daniel Roe
3722325220
perf(nuxt): use LRU prerender cache and limit cached items () 2023-08-04 08:47:42 +01:00
Peter Graugaard
a4e58bc352
fix(nuxt): correctly update object cookies in useCookie () 2023-08-03 17:33:34 +01:00
Harlan Wilton
ac93558aa6
fix(nuxt): broken capo.js injectHead usage () 2023-08-03 07:15:43 +01:00
MiniDigger | Martin
7489b7d7cc
fix(nuxt): print name of missing island component () 2023-08-02 11:17:27 +01:00
Harlan Wilton
a49ce7f494
perf(nuxt): experimental support of capo.js head tag order () 2023-08-01 20:47:31 +01:00
anhao
17461fb03b
fix(nuxt): support uppercase route methods in useFetch () 2023-07-31 23:56:37 +01:00
Daniel Roe
0d9a0b7538 fix(nuxt): name is an optional prop for <NuxtLayout> 2023-07-31 13:22:22 +01:00
Daniel Roe
1b1f194e64
refactor(nuxt): add additional flag to enable remote sources () 2023-07-31 13:01:50 +01:00
Daniel Roe
dad633b658
perf(nuxt): render css/inline css higher than resource hints () 2023-07-31 12:11:18 +01:00
Daniel Roe
5926bbeff8
feat(nuxt): allow 'lazy' (non-blocking) server components () 2023-07-31 09:51:09 +01:00
Damian Głowala
0991e885fd
feat(nuxt): autocomplete layouts in setPageLayout/<NuxtLayout> () 2023-07-31 09:50:55 +01:00
Julien Huang
0f839dd723
feat(nuxt): environment-specific plugin execution for islands () 2023-07-30 22:36:11 +01:00
Julien Huang
ffc4e798cd
feat(nuxt): allow remote sources for islands () 2023-07-30 22:00:41 +01:00
Jean-Pierre Carvalho
620097241a
feat(nuxt): auto-install @nuxt/webpack-builder when needed () 2023-07-30 21:25:00 +01:00
Joaquín Sánchez
2df9a4b9db
fix(nuxt): test watch paths against all layer srcDirs () 2023-07-30 19:47:29 +01:00
Harlan Wilton
9b09b4d112
feat(nuxt): render all head tags on server with unhead () 2023-07-30 19:46:16 +01:00
Daniel Roe
a2b5d31270
perf(nuxt): write templates in single sync step + improve logs () 2023-07-30 17:14:42 +01:00
Anthony Fu
c5f94be5d1
feat(nuxt): expose filtered templates in app:templatesGenerated hook () 2023-07-30 12:41:01 +01:00
Daniel Roe
2f734df9b5
fix(nuxt): disallow redirects to more script protocols ()
Co-authored-by: Damian Głowala <48835293+DamianGlowala@users.noreply.github.com>
2023-07-30 11:09:16 +01:00
Prashant Palikhe
2616aadda6
feat(nuxt): allow dynamic scrollToTop page meta () 2023-07-30 11:07:01 +01:00
Daniel Roe
257cb3c8a0
chore(deps): bump typescript/untyped versions () 2023-07-30 10:16:13 +01:00
OhB00
ae8a2fb521
fix(nuxt): use computed path value for useFetch hash () 2023-07-29 06:23:08 +02:00
Daniel Roe
e2c7edd479
fix(nuxt): pass (and handle) relative paths in builder:watch () 2023-07-26 11:16:01 +02:00
Anthony Fu
e3437c67d6
fix(nuxt): components auto-import for JSX () 2023-07-26 05:30:44 +01:00
Daniel Roe
03fbd30d1c
fix(nuxt): allow validate return typing to be either error or boolean () 2023-07-25 16:09:41 +00:00
Julien Huang
2e6c4519cf
fix(nuxt): bind createClientOnly render function to ctx () 2023-07-24 09:00:31 +01:00
Maik Kowol
7046930a67
fix(nuxt): add overloads for asyncData generic + default () 2023-07-23 09:24:54 +01:00
Daniel Roe
429d3656e9
fix(nuxt): access resolved scrollBehaviorType () 2023-07-21 10:17:07 +01:00
Rudolf Byker
9742bffac2
fix(nuxt): await prerender:routes hook () 2023-07-20 14:22:10 +01:00
Lucas Vargas
a2552c0191 feat(nuxt): smooth scroll behavior option () 2023-07-20 09:54:03 +01:00
Bogdan Kostyuk
bea5ec35fb feat(nuxt): polyfill idle callback utils () 2023-07-20 09:53:29 +01:00
Daniel Roe
0f16cd6124
perf(nuxt,schema): do not watch buildDir and node_modules () 2023-07-19 15:43:28 +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
Anthony Fu
f6b64f6a65
fix(nuxt): resolve race condition regenerating auto imports () 2023-07-18 16:20:06 +01:00
Julien Huang
f4ec04f520
fix(nuxt): add baseURL to island fetch requests () 2023-07-18 16:07:35 +01:00
Alexander Lichter
4b6f3e1ba1
fix(nuxt): work around payload extraction issue ()
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-07-18 13:31:35 +02:00
Daniel Roe
b8a282e115
fix(nuxt): don't redirect if initial path has trailing slash () 2023-07-18 11:03:14 +01:00
Alexander Lichter
fed5868184
fix(core): correctly use toLowerCase for possible moduleResolution () 2023-07-16 00:48:03 +02:00
云游君
e3553a36f9
fix(nuxt): skip scanning components that do not produce a name () 2023-07-14 14:50:14 +01:00
Jianqi Pan
988e75bbc7
fix(nuxt): skip view transitions where there is no route change () 2023-07-14 14:49:57 +01:00
Daniel Roe
a07cfb8663
refactor(cli,schema): add bundler module resolution flag () 2023-07-14 14:46:40 +01:00
Daniel Roe
e9dac76348
fix(nuxt): add pages in correct hook when generating () 2023-07-12 08:26:52 +01:00
Daniel Roe
dcef9d94cd
perf(nuxt): prepopulate island payloads from rendered html ()
Co-authored-by: Julien Huang <julien.huang@outlook.fr>
2023-07-12 07:28:22 +01:00
Daniel Roe
74c11dc662
perf(nuxt): use getters when constructing reactive routes () 2023-07-05 14:33:12 +02:00
Daniel Roe
d0dde6426f
fix(nuxt): preserve old vnode when leaving nested route () 2023-07-05 12:39:39 +02:00
Julien Huang
52a427d583
fix(nuxt): use $fetch.raw in dev client mode for islands () 2023-07-05 11:48:01 +02:00
Anthony Fu
28e91a7aad
fix(nuxt): regenerate imports after template () 2023-07-05 11:25:21 +02:00
ChronicStone
fd2b36a64d
fix(nuxt): support custom route name meta with typedPages () 2023-07-04 06:24:50 +01:00
Daniel Roe
435ac87961
perf(nuxt): allow hmr for server components in dev mode () 2023-07-04 05:21:27 +01:00
Julien Huang
9f5130d06b
fix(nuxt): stop loading indicator on navigation failure () 2023-07-03 12:14:17 +01:00
Daniel Roe
87e01ccf0e
fix(nuxt): handle injecting multiple entry ids for styles () 2023-06-30 05:25:43 +01:00
Daniel Roe
669e9bcf2d
fix(nuxt): ensure static presets equivalent to nuxi generate () 2023-06-29 10:14:35 +01:00
Julien Huang
cc4cf68ed4
perf(nuxt): don't run island transform plugin if disabled () 2023-06-28 17:44:43 +01:00
renovate[bot]
07a0e9d412
chore(deps): update all non-major dependencies (main) ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-06-28 15:43:04 +01:00
Daniel Roe
b108b1ee70
fix(nuxt): improve default prerender behaviour () 2023-06-28 15:17:19 +01:00
Daniel Roe
e023c06353
fix(nuxt, vite): do not use cjs utils to resolve/alias vue () 2023-06-28 14:49:50 +01:00
Daniel Roe
489b088836
fix(nuxt): only redirect if path is not the same as initial url () 2023-06-27 11:15:35 +01:00
Daniel Roe
9c8746f2a6
chore: prune internal unused code and exports () 2023-06-27 10:38:40 +01:00
Daniel Roe
4a7134f9b4
fix(nuxt): use starting index when transforming islands () 2023-06-26 19:32:02 +01:00
Anthony Fu
3550893227
fix(nuxt): support importing types from #imports () 2023-06-26 16:53:29 +01:00
Daniel Roe
4cc9a7135d
fix(nuxt): inline global css with ssr: false route rule () 2023-06-25 22:50:42 +01:00
Daniel Roe
5b8370414a
fix(nuxt): augment nitro config within server context as well () 2023-06-25 17:40:53 +01:00
Daniel Roe
1cd48cbef9
fix(nuxt): escape colons in page paths () 2023-06-25 17:40:30 +01:00
Daniel Roe
c72bc95473
fix(nuxt): only remove one item from middleware () 2023-06-25 17:40:12 +01:00
Daniel Roe
6b8cb97d54
fix(nuxt): remove path from SPA payload () 2023-06-25 17:38:51 +01:00
Daniel Roe
068ab19aab
fix(nuxt): respect false to disable spa loading template () 2023-06-25 17:38:31 +01:00
Daniel Roe
88bc32d42a
fix(nuxt): proxy headers to islands + returned prerender hints () 2023-06-25 17:38:15 +01:00
Daniel Roe
789c8bfa95
fix(nuxt): use esbuild/acorn instead of typescript dep () 2023-06-24 00:01: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
dd5dff37d5
fix(nuxt,schema): prefer unknown rather than any for signatures () 2023-06-22 14:14:21 +01:00
Daniel Roe
e00beddad6
fix(nuxt): add aliases and augmentations for nitro context () 2023-06-22 11:49:14 +01:00
Daniel Roe
14a7d95139
fix(nuxt): use static nitro build if possible () 2023-06-22 11:00:50 +01:00
Daniel Roe
be3f6f7018
feat(nuxt): update devdependency nitropack to v2.5.1 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-22 10:38:26 +01:00
Daniel Roe
bd34a8c158
fix(nuxt): do not embed error path in payload () 2023-06-21 11:04:44 +01:00
Daniel Roe
c3c56c14ab
fix(nuxt): guard res.end() calls with check if event is handled () 2023-06-21 07:07:02 +01:00
c-schwan
5460873161
fix(nuxt): move to @typescript-eslint/typescript-estree () 2023-06-20 22:01:31 +01:00
Daniel Roe
c66c82e6a0
feat(nuxt): allow configuring spa loading indicator () 2023-06-20 19:55:20 +01:00
Daniel Roe
343a46d5f9
fix(nuxt): inline css directly in root component () 2023-06-20 19:28:44 +01:00
Israel Ortuño
91ebcd7ee9
fix(nuxt): scroll to top in nested routes () 2023-06-20 17:14:56 +01:00
Daniel Roe
de639e7ef9
fix(nuxt): stop indicator when not changing page component () 2023-06-20 17:02:59 +01:00
Daniel Roe
b57d841614
fix(nuxt): post non-proxied cookie value via BroadcastChannel () 2023-06-20 17:02:13 +01:00
Daniel Roe
2abcc16cfb
perf(nuxt): extract and apply plugin order at build time () 2023-06-20 00:00:03 +01:00
Daniel Roe
bb4ed5e406
fix(nuxi): add back default baseUrl in tsconfig.json () 2023-06-19 23:29:09 +01:00
Daniel Roe
3fd6c179e4
fix(nuxt): replace : in rendered server components (for win) () 2023-06-19 23:06:46 +01:00
Daniel Roe
0e575ad5ab
feat(nuxt): expose useNuxtApp to window for convenience () 2023-06-19 17:17:15 +01:00
Nozomu Ikuta
634829a08c
fix(nuxt): improve warning for invalid children of <Title> () 2023-06-17 22:37:05 +01:00
Daniel Roe
2a42a5f807
fix(nuxt): ensure prerendered components are treated as islands () 2023-06-16 15:47:59 +01:00
Quentin
7e74e7c2fc
feat(nuxt): start loading indicator state with middleware () 2023-06-16 15:47:20 +01:00
Rodrigo Pimentel
b37ec72f8a
feat(nuxt): emit error in ssr-error event () 2023-06-14 19:44:43 +01:00
Nicolas Payot
187230b0c5
fix(nuxt): abort navigation when updating window.location () 2023-06-14 15:37:21 +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
Daniel Roe
03186d6d44
fix(nuxt): don't disable vue endpoint in dev mode () 2023-06-11 21:41:22 +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
Edward Hibbert
13aae836e8 perf(nuxt): import error component synchronously () 2023-06-10 10:11:26 +01:00
Daniel Roe
acdc28a99e
fix(nuxi,nuxt): remove baseUrl + use relative paths in tsconfig () 2023-06-09 23:19:42 +01:00
Nicolas Payot
c884a95f0f
feat(nuxt): return status from useAsyncData () 2023-06-09 22:38:14 +01:00
Jongmin Yoon
31a1b98f3f
feat(nuxt): provide clearNuxtState composable () 2023-06-09 22:22:21 +01:00
Anthony Fu
02ba4b30ac
fix(nuxt): fix typo on nitro.autoImport option () 2023-06-09 10:15:33 +01:00
Julien Huang
ed5732196d
fix(nuxt): prefix server component ids to avoid collisions () 2023-06-08 21:55:21 +01:00
Wilson Pinto
5a25fca475
fix(nuxt): add missing vue types () 2023-06-07 20:49:19 +01:00
Wilson Pinto
c4e5ac83bf
feat(nuxt): add open option in navigateTo helper () 2023-06-07 20:27:00 +01:00
pooya parsa
05f3decfa9
fix(nuxt): avoid early returning renderer with empty response () 2023-06-07 14:11:59 +01:00
Daniel Roe
7710ed30fa
fix(nuxt): skip vue render when redirecting () 2023-06-07 13:18:50 +01:00
Anthony Fu
6d59a027c7
perf(nuxt): mark define functions as side-effect free at source () 2023-06-07 11:11:24 +01:00
John Jenkins
6bb0a849fe
feat(nuxt): add renderResult to app:rendered () 2023-06-07 10:25:05 +01:00
Asher White
0bc38b7e19
fix(nuxt): replace BigInt literal with BigInt constructor () 2023-06-07 09:57:44 +01:00
Alexander B
a31899af65
feat(nuxt): sync useCookie state between tabs () 2023-06-06 23:21:51 +01:00
Daniel Roe
370b84e909
fix(nuxt): handle page rendering on different path () 2023-06-06 22:47:32 +01:00
Daniel Roe
ec72066f91
fix(nuxt): key distinct pages differently for legacy asyncData () 2023-06-05 19:36:26 +01:00
Daniel Roe
05b577e550
fix(nuxt): support usage of std-env in runtime code () 2023-06-05 19:23:38 +01:00
Daniel Roe
a302fe8062
perf(nuxt): avoid watching nested paths () 2023-05-31 14:11:46 +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
Daniel Roe
6eacad03b8
fix(nuxt): resolve modules relative to modulesDir () 2023-05-27 11:24:21 -05:00
Louis Haftmann
92bc999d0e
fix(nuxt): omit Set-Cookie header if value is null () 2023-05-26 14:42:12 -05:00
Daniel Roe
75cd6b7894
fix(nuxt): normalize windows paths in granular watcher () 2023-05-25 16:38:34 -05:00
Alexander
e50cabfed1
fix(nuxt): show error page after fatal abortNavigation () 2023-05-25 13:29:22 -05:00
Lucie
a672cd7a42
fix(nuxt): await nuxt ready state before refreshNuxtData () 2023-05-23 00:09:05 +01:00
Julien Huang
7cc7297ea7
fix(nuxt): treeshake <DevOnly> with webpack ()
Co-authored-by: Inesh Bose <56732164+ineshbose@users.noreply.github.com>
2023-05-22 21:29:59 +01:00
Daniel Roe
c37ebab1ef
perf(nuxt): use .test and hoist regexps where possible () 2023-05-22 21:25:42 +01:00
Daniel Roe
f94984e5cb
fix(nuxt): use simple incrementing id on client () 2023-05-22 21:25:04 +01:00
Daniel Roe
397c54c9db fix(nuxt): add type support for router composables without pages/ integration 2023-05-22 19:42:25 +01:00
Daniel Roe
3ed0d0ffc1
fix(nuxt): scan component dirs case-sensitively () 2023-05-22 11:04:02 +01:00
Haruaki OTAKE
bb28819d3c
fix(nuxt): fix useLazyFetch types () 2023-05-22 08:25:50 +01:00
Julien Huang
2d680455ae
fix(nuxt): skip middleware for islands components () 2023-05-20 23:26:29 +01:00
Haruaki OTAKE
b88aab049f
fix(nuxt): use default type for initial value for composables () 2023-05-20 23:19:50 +01:00
Daniel Roe
957a75a7e1
fix(nuxt): exclude plugin declaration from non-existent files () 2023-05-20 23:14:52 +01:00
Daniel Roe
25c150136d
fix(nuxt): don't match partial component names with prefix () 2023-05-19 08:11:46 +01:00
Daniel Roe
dda338a1dc
fix(nuxt): resolve layer assets in relation to layer directory () 2023-05-18 15:10:12 +01:00
Daniel Roe
9dea9bc1b2
perf(nuxt): use granular watcher to avoid crawling ignored dirs () 2023-05-18 14:44:24 +01: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
Gypsophyllite
f39eb6e981
fix(nuxt): infer useFetch method when generic is passed () 2023-05-17 12:56:47 +01:00
Daniel Roe
53bd8a44ec
fix(nuxt): allow island renders without / route () 2023-05-16 22:50:55 +01:00
Daniel Roe
a0583ba96e
fix(nuxt): pass from + savedPosition to first scrollBehavior () 2023-05-16 10:55:13 +01:00
Anthony Fu
433b52930a
feat(nuxt): support parallel plugins () 2023-05-16 09:50:43 +01:00
Julien Huang
70c5ec86d2
feat(nuxt): full scoped slots support for server components () 2023-05-15 23:43:53 +01:00
Daniel Roe
038c84c4b1
fix(nuxt): add types for webpack/vite environments () 2023-05-15 17:17:39 +01:00
Daniel Roe
33e2bd3dc0
feat(nuxt): support separate server tsconfig () 2023-05-15 16:36:30 +01:00
Alexander
e9b2f6286c
fix(nuxt): stop loading indicator on vue errors () 2023-05-15 16:34:20 +01:00
Dario Ferderber
ec9dcdb093
fix(nuxt): allow pages:extend to enable pages module () 2023-05-15 13:47:30 +01:00
白雾三语
ce84c9b44f
fix(nuxt): ensure all dir parts are present in component name () 2023-05-15 13:34:04 +01:00
Inesh Bose
1f30cf18e3
fix(nuxt): get fallback for <DevOnly> from parsed html () 2023-05-15 13:33:46 +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
Julien Huang
900ee6dc8b
fix(nuxt): transform client fallbacks directly on SFCs () 2023-05-13 22:39:50 +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
Julien Huang
90ab1b50f4
fix(nuxt): always inline styles for server/island components () 2023-05-11 23:33:17 +01:00
Lehoczky Zoltán
6b7197fd8c
fix(nuxt): avoid destructuring error prop (works around upstream bug) () 2023-05-11 22:54:07 +01:00
Daniel Roe
5e74fe4e0b
fix(nuxt): enable suspensible behaviour for nested pages () 2023-05-11 18:57:18 +01:00
Daniel Roe
0258acdc8a fix(nuxt): remove webstorm compatibility augmentation 2023-05-11 15:28:03 +01:00
Daniel Roe
93ba5e7cd2
feat(nuxt): use runWithContext within callWithNuxt () 2023-05-11 12:39:08 +01:00
Daniel Roe
f170075c79
feat(deps): update vue to v3.3 () 2023-05-11 09:37:32 +01:00
Daniel Roe
53fef72031
fix(nuxt): deduplicate global components before registration () 2023-05-10 13:57:27 +01:00
Julien Huang
018bf125ab
feat(nuxt): add apps to nuxt build-time instance () 2023-05-09 23:46:03 +01:00
Eduardo San Martin Morote
5781cf1569
feat(nuxt): add experimental typedPages option () 2023-05-09 18:08:07 +01:00
Daniel Roe
80d7899f49
fix(nuxt): prevent treeshaking hooks with composable names () 2023-05-09 17:47:46 +01:00
Daniel Roe
eb8e9169d6
fix(nuxt): generate empty sourcemaps for wrappers () 2023-05-09 16:57:23 +01:00
Daniel Roe
1da25c8069
fix(nuxt): allow resolving client nuxt app to singleton () 2023-05-09 11:22:38 +01:00
Anthony Fu
1f38863c06
fix(nuxt, vite): ignore nuxt_component ssr style and isVue () 2023-05-04 17:19:03 +01:00
Daniel Roe
566fa85fc8
fix(nuxt): run page meta plugin on all pages (and only pages) ()
Co-authored-by: Julien Huang <julien.huang@outlook.fr>
2023-05-03 15:14:12 +01:00
Daniel Roe
da3357449f
feat(nuxt): add nuxtApp.runWithContext () 2023-05-03 11:02:07 +01:00
Anthony Fu
fb76b3931a
feat(nuxi): allow greater control of nuxi analyze from cli () 2023-05-02 14:24:11 +01:00
Anthony Fu
84559e84aa
feat(kit): support passing getter to addVitePlugin and addWebpackPlugin () 2023-05-02 12:17:41 +01:00
Daniel Roe
16bf228437
fix(nuxt): ensure useError is called with nuxt app context () 2023-05-01 23:55:24 +01:00
renovate[bot]
f3cfb5f630
chore(deps): update all non-major dependencies (main) ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-05-01 23:46:29 +01:00
Daniel Roe
8b86d39e30
refactor(schema): move runtimeCompiler option out of experimental () 2023-05-01 17:39:07 +01:00
Daniel Roe
8353e4c66e
feat(nuxt): allow access to components within app () 2023-05-01 17:35:00 +01:00
Daniel Roe
2c55bb6f84
fix(nuxt): remove internal <FragmentWrapper> () 2023-05-01 12:56:30 +01:00
Harlan Wilton
d2170b80b9
fix(nuxt): skip payload extraction for island context () 2023-04-30 10:10:09 +01:00
Anthony Fu
d2fc6ae614
fix(nuxt): properly handle query for component wrapper () 2023-04-30 10:08:08 +01:00
Anthony Fu
a13b18eddf
fix(nuxt): add @nuxt/devtools module before core modules () 2023-04-30 10:06:43 +01:00
Daniel Roe
6ef2e1caea
fix(nuxt): remove backwards-compatible runtimeConfig proxy () 2023-04-29 23:38:40 +01:00
Stefan Milosevic
fac160c79f
feat(nuxt): auto import 'watchPostEffect' and 'watchSyncEffect' from vue () 2023-04-29 23:33:29 +01:00
Daniel Roe
e1e3d2cd8e
feat(nuxt): add scoped helper for clearing error within boundary () 2023-04-29 23:32:29 +01:00
Daniel Roe
f73bb1de0a
fix(nuxt): return RenderResponse for redirects () 2023-04-28 11:18:03 +01:00
Anthony Fu
98b20c45c8
fix(nuxt): transform #components imports into direct component imports ()
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-04-28 10:14:42 +01:00
Julien Huang
ecf41537ca
fix(nuxt): throw errors when running legacy asyncData () 2023-04-27 11:51:33 +01:00
Daniel Roe
65a8f4eb3e
fix(nuxt): restrict access to single renderer outside of test/rootDir () 2023-04-27 11:31:52 +01:00
Daniel Roe
197de3ecbb
fix(nuxt): call app:error in SSR before rendering error page () 2023-04-26 14:36:59 +01:00
Daniel Roe
dd0d13d425
fix(nuxt): improved typing support for app config () 2023-04-26 14:30:05 +01:00
Daniel Roe
7ab476b1f8
fix(nuxt): use callAsync for executing hooks with context () 2023-04-26 07:15:22 +01:00
Daniel Roe
200cb2787e
fix(nuxt): throw 404 when accessing /__nuxt_error directly () 2023-04-25 15:47:02 +01:00
Andrew Luca
ea1c5b2550
fix(nuxt): use event.node.req in cookie utility () 2023-04-24 21:25:36 +01:00
Daniel Roe
f1ded44e80 fix(nuxt): add basic typings for <ClientOnly> 2023-04-20 22:56:22 +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
8b7df05ff0
fix(nuxt): don't call timeEnd unless we're debugging () 2023-04-20 22:18:32 +01:00
Daniel Roe
12f347a928
fix(nuxt): clone app config on server () 2023-04-20 13:33:45 +01:00
Daniel Roe
a086af9692
perf: allow using @parcel/watcher for dev watcher () 2023-04-19 22:02:52 +01:00
Daniel Roe
c7be5b4ec6
refactor(nuxt): rework and use isJS and isVue utilities consistently () 2023-04-19 19:17:36 +01:00
Harlan Wilton
5febd46d23
fix(core,kit): ensure module transpilation paths are dirs () 2023-04-19 19:05:46 +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
4ab4ac13df
fix(nuxt): swap preloads for json/js payloads () 2023-04-19 10:18:02 +01:00
Daniel Roe
8aa86559c8
fix(nuxt): mark useRequestHeaders keys as optional () 2023-04-15 15:43:19 +01:00
Daniel Roe
ac2e466175
fix(nuxt): provide more helpful error when instance unavailable () 2023-04-15 14:47:34 +01:00
Daniel Roe
3754591257
fix(nuxt): return type directly if not picking asyncData () 2023-04-15 11:03:09 +01:00
Daniel Roe
d0c8e7fb4a
fix(nuxt): generate hi-res sourcemaps () 2023-04-14 18:21:08 +01:00
Daniel Roe
f366ab4eb8
chore: remove @ts-ignore and fix some issues () 2023-04-14 13:53:21 +01:00
Daniel Roe
53db8125f1
perf(nuxt): share lazy component definitions () 2023-04-13 20:08:08 +01:00
Daniel Roe
9110d41628
fix(nuxt): do not redirect when vue-router normalises url () 2023-04-13 03:14:44 -07:00
Daniel Roe
b011d3d76f
fix(nuxt): improve handling of redirects within middleware () 2023-04-13 02:58:25 -07:00
Daniel Roe
e5d1d29b1d
fix(nuxt): add missing imports to <NuxtClientFallback> () 2023-04-12 10:10:18 -07:00
Daniel Roe
22f1f71e3e
fix(nuxt): mark entire payload as reactive () 2023-04-12 01:42:45 -07:00
Daniel Roe
fe2800540c
fix(nuxt): set config on ssrContext in spa renderer () 2023-04-11 15:33:21 -07:00
Sacha Stafyniak
811bf28068
feat(nuxt): add chokidar watcher debug timing () 2023-04-11 07:19:45 -07:00
Julien Huang
163913a744
feat(nuxt): add experimentalNoScripts route rule () 2023-04-11 07:17:44 -07:00
Daniel Roe
4285092879
feat(nuxt): support object-syntax plugins () 2023-04-11 04:58:43 -07:00
Daniel Roe
d6c3c2439a
feat(nuxt): support async transform of object properties () 2023-04-10 14:57:13 -07:00
Harlan Wilton
33f3ae4963
fix(nuxt): default nitro autoImports to imports.autoImport () 2023-04-10 19:11:07 +01:00
Daniel Roe
e99f923aa5
feat(nuxt): add experimental View Transitions API support () 2023-04-10 04:33:14 -07:00
Daniel Roe
9878c5b6e4
style: enable sort-imports eslint rule () 2023-04-07 09:02:47 -07:00
Anthony Fu
11a9780c80
feat(nuxt): prompt to install devtools when it's enabled () 2023-04-07 08:34:11 -07:00
xjccc
9fd398216c
fix(nuxi): preview nitro build with custom dir config () 2023-04-07 06:19:53 -07:00
Daniel Roe
c65c5a8e79
fix(nuxt): deprecate old (pre-rc) runtimeConfig () 2023-04-07 04:36:45 -07:00
Daniel Roe
6ddea42f96
refactor(nuxt): remove #head alias () 2023-04-07 03:36:41 -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
cany748
4f0b3c7223
fix(nuxt): add undefined type for useCookie return value 2023-04-07 01:45:44 -07:00
Julien Huang
b068f79fee
fix(nuxt): add key to .client component placeholders () 2023-04-07 01:31:04 -07:00
Daniel Roe
41bfd55230
fix(nuxt): test all custom app config keys for any () 2023-04-06 05:33:54 -07:00
Anthony Fu
72ba53efbc
feat(test-utils): allow mounting single component for testing () 2023-04-06 05:07:22 -07:00
Julien Huang
3fc9a75070
feat(nuxt): support vue runtime compiler () 2023-04-06 04:51:32 -07:00
Aleksandar Trpkovski
1ae30ba474
fix(nuxt): throw error on protocol relative path in useFetch () 2023-04-04 15:04:38 -07:00
Daniel Roe
b811742f89
fix(nuxt): add types for globally injected $config object () 2023-04-04 06:34:39 -07:00
Daniel Roe
bc9c7dcac8
feat(nuxt): respect custom dir.pages in page placeholder () 2023-04-04 06:18:29 -07:00
Daniel Roe
f40b3e2492
feat(nuxt): support ~/~~/@/@@ aliases within layers () 2023-04-03 06:18:24 -07:00
Daniel Roe
ee8d3f6ea6
feat(nuxt): support disabling watch with useFetch () 2023-04-03 05:36:14 -07:00
Daniel Roe
c660b39447
fix(nuxt): disable x-nuxt-no-ssr header by default () 2023-04-03 03:39:01 -07:00
Daniel Roe
61699f864e
feat(nuxt): warn in dev when useRoute is used in middleware () 2023-04-03 03:36:17 -07:00
Daniel Roe
d190f743dc
fix(nuxt): end route param tokens manually () 2023-04-03 02:56:44 -07:00
Daniel Roe
2f8e991b94 chore: fix typo in code comment 2023-04-01 12:12:34 +01:00
Daniel Roe
822202239c
fix(nuxt): sync setResponseStatus signature with h3 () 2023-03-31 07:02:26 -07:00
Daniel Roe
4ed5d2f872
fix(nuxt): suppress handled errors () 2023-03-31 02:17:10 -07:00
David Mignot
b31fd4ad34
fix(nuxt): store payloads in cache without trailing slash () 2023-03-30 05:32:00 -07:00
Daniel Roe
6f6140809d
fix(nuxt): don't override options signature with schema () 2023-03-28 01:55:20 -07:00
Daniel Roe
0b5ba6c3e9
chore: remove unused TS directive 2023-03-23 14:03:21 +01:00
Daniel Roe
562cef24ca
perf(nuxt): experimentally disable vue server renderer nitro endpoint () 2023-03-23 09:04:40 +00:00
Harlan Wilton
c6f928d786
fix(nuxt): add missing import in islands template () 2023-03-22 17:19:26 -07:00
Daniel Roe
e6c1bb57d7
fix(nuxt): use prerender cache for islands () 2023-03-22 17:12:01 +00:00
Daniel Roe
9d8c230132
fix(nuxt): ignore schema types that eval to any () 2023-03-22 17:08:27 +00:00
Julien Huang
4671294229
fix(nuxt): directly render server components () 2023-03-20 14:47:06 -07:00
Mehdi HosseinZade
3a971d0b36
fix(nuxt): observe slot element in custom nuxt-link () 2023-03-20 14:46:12 -07:00
Daniel Roe
ebd7dcd4ba
fix(nuxt): handle external navigation to api routes () 2023-03-20 17:15:01 +00:00
Emil Rosenius
11ee3c92b9
fix(nuxt): add temporary augmentation for webstorm (and docs) ()
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-03-19 16:22:55 -07:00
Daniel Roe
3055ce35b1
fix(nuxt): use h3 utilities to set response status/code () 2023-03-19 16:20:04 -07:00
Anthony Fu
ce575b49e3
fix(nuxt): ignore falsy modules () 2023-03-19 16:16:13 -07:00
Daniel Roe
4ca2dccd38
fix(nuxt): unset context after app is created () 2023-03-17 19:01:16 +00:00
Daniel Roe
3e58f90914
chore: add internal types for nitro/app () 2023-03-16 09:27:10 -07:00
Harlan Wilton
7103670acc
fix(nuxt): unpause DOM updates on suspense resolve () 2023-03-16 07:53:10 -07:00
Daniel Roe
a1691721d4 fix(nuxt): import builder path as file url 2023-03-14 14:24:04 +00:00
Daniel Roe
4b2cb52f8a
fix(nuxt): fix default injection type for plugins () 2023-03-14 06:08:43 -07:00
Daniel Roe
9d850a2a12
feat(nuxt): add nitro:build:public-assets hook () 2023-03-14 03:34:55 -07:00
Daniel Roe
0f6276dc6e
fix(nuxt): mark non-augmented NuxtApp properties as unknown () 2023-03-14 03:09:50 -07:00
pooya parsa
e84ec61eeb
feat(nuxt): support app config for server routes () 2023-03-14 02:54:59 -07:00
Hyunseung Lee
e42d63a25a
fix(schema): show payloadExtraction warning only when unset ()
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-03-13 04:06:43 -07:00
Daniel Roe
ce45590120
refactor(nuxt): let mlly handle search paths () 2023-03-13 10:14:27 +00:00
Daniel Roe
ea8f78a63a
fix(nuxt): exclude boolean from inline module definitions () 2023-03-12 15:25:45 -07:00
Daniel Roe
e13e227d06
fix(nuxt): resolve builder using esm syntax () 2023-03-11 15:11:28 -08:00
Daniel Roe
60b4c48eb4
fix(nuxt,schema): merge custom and resolved app configs () 2023-03-11 14:53:28 -08:00
Xin Du (Clark)
4de4de1a71
fix(nuxt): improve types for data fetching with transform () 2023-03-11 14:36:10 -08:00
Daniel Roe
53a2a0fdcb
fix(nuxt): avoid injecting adhoc modules in schema () 2023-03-11 14:11:48 -08:00
Daniel Roe
b19b35fb67
fix(nuxt): provide node16-style type exports () 2023-03-11 13:16:01 -08:00
Daniel Roe
e6bbf71fd5
chore: improve internal type safety () 2023-03-11 18:22:29 +00:00
Harlan Wilton
d2f0b22632
perf(nuxt): tree-shake server composables + prefer server head () 2023-03-10 08:45:22 -08:00
Daniel Roe
6d79b71588
refactor(kit,nuxi): resolve module paths using node algorithm () 2023-03-10 06:55:01 -08:00
Harlan Wilton
c91e4d7933
feat(nuxt): add useHeadSafe and remove layer around head imports () 2023-03-10 00:01:21 -08:00
Daniel Roe
9a5e3e3044
chore(nuxt): update to new hasProtocol options format () 2023-03-09 18:37:18 +00:00
Daniel Roe
d469740105
fix(nuxt): dedupe payload cache by payload url () 2023-03-09 18:36:54 +00:00
Daniel Roe
a313f06261
fix(nuxt): only log boot errors on client-side () 2023-03-09 06:37:39 -08:00
Daniel Roe
9036142b14
feat(nuxt): add watch option and refactor dev server restarting () 2023-03-09 03:46:08 -08:00
Mehmet
17f080cad1
fix(nuxt): exclude nitro output dir from type checking () 2023-03-08 13:14:06 -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
c2ab76d68e
perf(vite): mark more core functions as side-effect free () 2023-03-07 14:51:08 -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
Alex Liu
ca32852122
feat(nuxt): enable preloading object-syntax routes () 2023-03-06 03:34:17 -08:00
Daniel Roe
129bb4fa3a
feat(kit,nuxt): add component priority to allow overriding () 2023-03-06 03:33:40 -08:00
pooya parsa
71225e50c5
feat(nuxt): enable config schema by default () 2023-03-04 06:39:26 -08:00
Daniel Roe
3681bddfd5
feat(nuxt): auto-register modules in ~/modules () 2023-03-03 17:52:55 +00:00
Daniel Roe
a420369c90
fix(nuxt): don't print layout warning if page is not ssr () 2023-03-03 08:47:08 -08:00
Ivan
7131aef820
feat(schema): allow adding page routes without a matching file () 2023-03-03 06:07:42 -08:00
Stefan
6084f6416b
fix(nuxt): pass transform options to component loader plugin () 2023-03-03 02:40:24 -08:00
Xin Du (Clark)
654b9a21d7
fix(schema): update vite import.meta types () 2023-03-03 02:20:15 -08:00
Lucie
0be8cda77a
fix(nuxt): prevent fallthrough attributes on custom NuxtLink () 2023-03-02 01:53:46 -08:00
Daniel Roe
d4a75240ac
feat(nuxt): add versions to runtime nuxtApp () 2023-03-01 07:08:23 -08:00
Inesh Bose
c7eb891e12
fix(nuxt): deprecate scanning directory index plugins () 2023-03-01 04:08:58 -08:00
Alexander Lichter
639189ca88
fix(nuxt): clear loading indicator on unmount () 2023-02-28 20:18:47 +01:00
Daniel Roe
32f6cb27b7
perf(nuxt): increase static asset maxAge to 1yr () 2023-02-28 05:06:31 -08:00
Daniel Roe
503b7acd55
perf(nuxt): don't update manifest in dev mode () 2023-02-27 11:36:27 -08:00
renovate[bot]
8bfc66d6f7
chore(deps): update all non-major dependencies (main) ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-02-27 11:02:11 -08:00
Daniel Roe
f16cce8824
fix(nuxt): compatible route object for custom external routes () 2023-02-27 07:13:14 -08:00
igayamaguchi
9e6fa9f7ba
fix(nuxt): preserve explicit rel attribute on internal link () 2023-02-27 13:29:57 +01:00
Daniel Roe
7479d469dd
fix(nuxt): log errors thrown when booting the nuxt app () 2023-02-21 07:06:10 -08:00
Daniel Roe
c4eb4b784c
fix(nuxt): preserve (re)named imports in meta () 2023-02-21 04:22:12 -08:00
Alex Liu
268cded26c
fix(nuxt): prefetch object-syntax routes with <NuxtLink> () 2023-02-20 12:31:27 -08:00
Daniel Roe
576ce9ee36 chore: dedupe rollup 2023-02-17 14:13:17 +00:00
renovate[bot]
6858796102
chore(deps): update all non-major dependencies (main) ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-02-17 06:05:49 -08:00
pooya parsa
15b9386a39
chore: update nitropack and unjs dependencies ()
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-02-17 05:38:19 -08:00
Daniel Roe
3190254bbd
fix(nuxt): pass nuxt + workspace paths when importing builder () 2023-02-16 16:59:24 -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
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
1e8b27f36c
perf(nuxt): don't include side-effects from #components () 2023-02-16 07:00:40 -08:00
Daniel Roe
7aa35ff958
fix(nuxt): validate no // in path when constructing payload url () 2023-02-16 06:40:51 -08:00
Nathan Chase
681cfa83fd
perf(nuxt): animate transform rather than width () 2023-02-16 05:04:09 -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
Daniel Roe
96b09ea982
feat(nuxt): add experimental app:chunkError hook and reload strategy () 2023-02-16 04:43:58 -08:00
Daniel Roe
59a1f7bae0
perf(nuxt): allow tree-shaking empty meta from build () 2023-02-14 14:22:53 -08:00
Daniel Roe
2960aa3426
fix(schema): transpile nuxt/app by default () 2023-02-14 00:23:12 +00:00
Daniel Roe
4219ff21e9
fix(nuxt): prevent hyphens forming child routes & warn if dupes are detected () 2023-02-13 22:56:39 +00:00
Xin Du (Clark)
859fbd0add
fix(nitro): ensure ssr error statusCode is a number () 2023-02-13 22:55:29 +00:00
Daniel Roe
6016aef859
fix(nuxt): expose nuxt/schema subpath for augmentation () 2023-02-13 22:42:04 +00:00
Lioness100
b25b6c82c7
docs: fix typos () 2023-02-12 19:16:42 +00:00
pooya parsa
7111b6cf44
fix(nuxt): avoid recursive import in nitro renderer ()
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-02-10 16:33:06 +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 () 2023-02-08 22:26:41 -08:00
pooya parsa
9845467421
feat(nuxt): upgrade to nitropack 2.2 () 2023-02-09 07:02:07 +01:00
Julien Huang
113ce71c34
fix(nuxt): use parser to treeshake <ClientOnly> () 2023-02-08 00:59:57 -08:00
Yasser Lahbibi
e451a9965e
fix(nuxt): don't exclude pnpm layers from nitro esbuild/imports () 2023-02-07 09:18:47 -08:00
Dany Sluijk
bae73c3650
feat(nuxt): infer useFetch return based on the method () 2023-02-07 06:01:31 -08:00
Alex Liu
526a78095a
fix(nuxt): defer adding route path to preloaded record () 2023-02-07 06:01:03 -08:00
Anthony Fu
2677b88f5f
feat(nuxt): support type auto-import () 2023-02-07 06:00:11 -08:00
Daniel Roe
39747ce095
perf(vite): use stub entry in vite server build when ssr: false () 2023-02-06 15:25:24 -08:00
renovate[bot]
39b5886a0d
chore(deps): update all non-major dependencies (main) ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-02-05 04:31:53 -08:00
Julien Huang
bf617c790c
fix(nuxt): treeshake client-only components with placeholders () 2023-02-04 07:36:03 -08:00
Daniel Roe
2b75414f47
perf(nuxt): cache result of importing styles module () 2023-02-03 04:50:17 -08:00
Daniel Roe
cb0860ba6c
fix(nuxt): make onNuxtReady safe to run on server-side () 2023-02-02 05:27:48 -08:00
Daniel Roe
b7591e639d
perf(nuxt): simplify generated variable names () 2023-01-30 12:24:58 -08:00
Daniel Roe
a0085b70a3
fix(nuxt): dedupe vue-router () 2023-01-30 10:22:15 -08:00
Daniel Roe
5037dd6876
fix: use named export from defu in all places () 2023-01-30 04:09:48 -08:00
Daniel Roe
7d812db9e8
fix(nuxt): augment interfaces exported from vue () 2023-01-25 07:59:02 -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
Daniel Roe
9751c9dab7
fix(nuxt): do not override inferred type of <NuxtPage> () 2023-01-25 00:44:59 -08:00
Daniel Roe
f711046171
perf(nuxt): add tree-shaken useServerSeoMeta composable () 2023-01-24 15:34:20 +00:00
Daniel Roe
629d2c099e fix(nuxt): import onServerPrefetch 2023-01-23 23:40:09 +00:00
pooya parsa
1af319e0fa
feat: experimental config schema () 2023-01-23 19:07:21 +01:00
Harlan Wilton
1406d21ed2
feat(head): useSeoMeta composable () 2023-01-23 11:39:17 +00:00
Daniel Roe
de4086f6ed
fix(nuxt): let router handle internal redirects within middleware () 2023-01-23 11:18:33 +00:00
Daniel Roe
c5d6db7fd0
fix(nuxt): await async callWithNuxt calls () 2023-01-23 11:13:21 +00:00
Daniel Roe
0236a799f2
fix(vite): don't skip loading styles in hydration phase () 2023-01-21 23:15:48 +00:00
Kareem Dabbeet
ea9812a559
feat(nuxt): allow disabling color for <NuxtLoadingIndicator> () 2023-01-21 23:15:32 +00:00
Inesh Bose
98d292ae85
fix(nuxt): provide types for modules as array ()
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-01-21 16:55:44 +00:00
Alan Poulain
50e23bad35
fix(nuxt): use query for hashing the fetch key () 2023-01-20 18:05:10 +00:00
renovate[bot]
7c1712013c
chore(deps): update all non-major dependencies (main) ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2023-01-20 16:17:31 +00:00
Daniel Roe
5e1881c20a
feat(nuxt): support server components with extracted payloads () 2023-01-20 12:10:58 +00:00
Sébastien Chopin
912eafbbf6
feat(nuxt): prefetch middleware/layouts + await layout loading () 2023-01-19 13:01:21 +00:00
Daniel Roe
0db3c6373a
fix(nuxt): name anonymous components in render tree () 2023-01-14 01:27:38 +00:00
Daniel Roe
488479ab1b
fix(nuxt): avoid injecting url helpers into globalThis () 2023-01-14 01:27:06 +00:00
Kyohei Oka
86ed4ef1f4
fix(nuxt): update class prop type for head components () 2023-01-14 01:18:55 +00:00
Daniel Roe
bf649fe576
fix(nuxt): allow overriding lower layer composables () 2023-01-14 01:14:24 +00:00
renovate[bot]
0b1cdcc70d
chore(deps): update devdependency @nuxtjs/eslint-config-typescript to v12 ()
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 () 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
Sébastien Chopin
71a5727589
fix(nuxt): support deep assign on empty object for app config () 2023-01-13 23:28:07 +00:00
Daniel Roe
ef39d2c9d9
fix(nuxt): add build.transpile strings to nitro inline list () 2023-01-13 23:19:03 +00:00
Daniel Roe
a68da6d6a7
chore: case police update () 2023-01-13 15:00:57 +00:00
Daniel Roe
698a3103e0
fix(nuxt): include components runtime dir in build output () 2023-01-11 20:51:49 +00:00
Alex Liu
9de94c21cf
refactor: improve internal type definitions of <NuxtLink> () 2023-01-10 14:33:21 +00:00
Anthony Fu
586df1a817
feat(imports): imports:context hook for unimport context () 2023-01-09 11:35:44 +00:00
Daniel Roe
2d013c5fad
feat(nuxt): server-only components () 2023-01-09 11:20:33 +00:00
Alejandro Romano
7f4f10a733
fix(nuxt): set is loading state for <NuxtLoadingIndicator> after throttle () 2023-01-02 19:20:53 +01:00
Yann Odeyer
da6fa9ab44
perf(nuxt): use static import of @unhead/ssr () 2022-12-23 14:18:14 +01:00
Anthony Fu
faf260757c
feat(vite): display production build stats () 2022-12-19 12:57:08 +01:00
Mehdi HosseinZade
04c8625843
feat(nuxt): deep watch useCookie ref value by default ()
* 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
Daniel Roe
0cb9a4c51d
refactor(nuxt): do not add all composable auto-imports to globalThis () 2022-12-13 10:30:12 +00:00
Daniel Roe
4cf110e0d8
fix(nuxt): make dev-only regexp less greedy () 2022-12-13 09:39:14 +00:00
renovate[bot]
3733f123df
chore(deps): update all non-major dependencies ()
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 () 2022-12-12 15:22:04 +00:00
Daniel Roe
23307cd8e0
fix(nuxt): remove absolute paths from routes objects () 2022-12-12 13:25:00 +01:00
Harlan Wilton
4cb7e425a1
refactor(nuxt): remove vue-meta for head support () 2022-12-12 11:07:31 +01:00
Daniil Chudo
ab2456c295
refactor: split out type imports from value imports () 2022-12-11 21:44:52 +00:00
Evgeny Yurkin
4641e8e504
fix(nuxt): await plugin asyncdata promises in nuxt hook () 2022-12-10 22:44:29 +00:00
Daniel Roe
2396fc657f
fix(nuxt): remove deprecated req/res access () 2022-12-10 19:54:35 +00:00
Alexander Lichter
d0c0cd7ad2
refactor(nuxt): use pathe.join for layer lookup () 2022-12-06 12:30:14 +01:00
Alexander Lichter
5f935aad48
feat(nuxt): support for extending error.vue in layers () 2022-12-06 09:44:03 +00:00
Mahdi Boomeri
9c478ee16e
feat: useNuxtData composable ()
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 () 2022-12-05 11:46:13 +01:00
Daniel Roe
4c4249dc33
feat(nuxt): add onNuxtReady composable () 2022-12-05 11:09:58 +01:00
Daniel Roe
52421a9354
fix(nuxt): defer render-blocking prefetches until after load () 2022-12-02 16:13:35 +00:00
Daniel Roe
c26979a047
fix(nuxt): useCookie with defaults should return non-null value () 2022-12-02 10:45:33 +01: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
Damian Głowala
4f2bfbe5c0
fix(nuxt): include missing <NuxtPage> component props ()
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-11-21 14:03:22 +01:00
Danil Zalizchuk
e85e3ab6e5
refactor(nuxt): fix typo in internal plugin names () 2022-11-21 11:45:54 +01:00
Toby Faux
32044dc8a5
fix(nuxt): allow union type arguments for useAsyncData () 2022-11-16 15:27:24 +01:00
pooya parsa
d6bfa216ae
fix(nuxt): removed auto imports () 2022-11-16 10:59:45 +01:00
pooya parsa
5ac9d85a49
refactor!: remove deprecated api () 2022-11-16 03:26:35 +01:00
Anthony Fu
f1ae40fc4e
fix(nuxt): improve hmr for pages macros ()
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-11-15 18:15:44 +01:00
Daniel Roe
f7850526e8
fix(nuxt)!: include request url and params in useFetch key () 2022-11-15 17:47:41 +01:00
Harlan Wilton
fddc8b2e6e
feat(nuxt, schema): official @vueuse/head v1 support () 2022-11-15 17:26:38 +01:00
Daniel Roe
2c2fbdffc9
refactor(nuxt)!: move head option support into defineNuxtComponent () 2022-11-15 15:47:17 +01:00
pooya parsa
b49f2a8147
refactor: update unjs dependencies to stable v1 () 2022-11-15 15:33:43 +01:00
Daniel Roe
4c8369fbf3
fix(nuxt): include layers in esbuild transform () 2022-11-15 14:52:16 +01:00
kevin olson
79d5634c69
docs: add a bit more detail in the definePageMeta warning to specify it needs to be in a page () 2022-11-14 11:28:31 +01:00
Julien Huang
8c4ff5c585
fix(nuxt): avoid passing attrs to default slot for ClientOnly () 2022-11-14 11:27:57 +01:00
Daniel Roe
e6351349c0
feat(nuxt): add onBeforeRouteLeave and onBeforeRouteUpdate composables () 2022-11-10 14:52:04 +01:00
Toby Faux
3e34a61506
fix(nuxt): use app.baseURL when fetching error page on server ()
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 () 2022-11-10 14:27:59 +01:00
pooya parsa
83b5c09090
fix(nuxt): preserve render errors ()
* 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 () 2022-11-10 12:41:02 +01:00
Daniel Roe
9227361027
fix(nuxt): detect non-functional imports within page meta () 2022-11-10 11:31:01 +01:00
renovate[bot]
dd600bbb66
chore(deps): update all non-major dependencies () 2022-11-10 10:43:24 +01:00
Daniel Roe
17099348e7
fix(nuxt)!: only add $f fetch prefix to auto-keys () 2022-11-10 09:39:49 +01:00
Daniel Roe
4bbd2618ce
feat(nuxt): auto-import utils/ directory () 2022-11-09 10:43:16 +01:00
Daniel Roe
3839dba06a
refactor(nuxt): explicitly import app in nuxt-root () 2022-11-09 10:14:15 +01:00
Daniel Roe
453ce78300
fix(nuxt): swallow issues with query selectors () 2022-11-09 10:10:32 +01:00
Daniel Roe
aec07f4255
style: lint Route interface () 2022-11-09 10:08:50 +01:00
Daniel Roe
5a32927935
fix(nuxt): do not render page if we are throwing error () 2022-11-09 10:08:37 +01:00
Daniel Roe
4d1be089d7
chore(nuxt): remove unused plugins () 2022-11-09 10:07:22 +01:00
Daniel Roe
10c2272f4f
refactor(nuxt)!: remove support for 404.vue shorthand () 2022-11-09 10:05:22 +01:00
Alexander Lichter
0cf0f59bc5
fix(ssr): ensure useRequestHeaders are case-insensitive ()
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 () 2022-11-09 10:02:11 +01:00
Daniel Roe
30d99477ce
fix(nuxt): add catchall paths to prerender list () 2022-11-09 10:00:34 +01:00
Daniel Roe
e76ebdddd0
fix(nuxt): allow cookies to be set to null to unset them ()
Co-authored-by: Magyar Balázs <magyarb94@gmail.com>
2022-11-09 09:59:23 +01:00
Agénor Debriat
b60f1364c5
refactor(nuxt)!: fix typo for NuxtRenderHTMLContext.bodyPrepend () 2022-11-07 11:29:41 +01:00
Sébastien Chopin
fe433a4222
fix(nuxt): check if global transitions are activated for scroll behavior () 2022-11-04 19:09:28 +01:00
pooya parsa
19a2cd1492
fix(nuxt): ensure payload url has no protocol () 2022-11-03 23:28:13 +01:00
pooya parsa
9eb6a62471
fix: resolve ids to support pnpm () 2022-11-03 22:48:51 +01:00
pooya parsa
253c8f7ee0
fix(nuxt): disallow directly rendering error page () 2022-11-03 22:48:29 +01:00
pooya parsa
ea17148a6b
feat(kit, nuxt): support prerender:routes and addPrerenderRoutes () 2022-11-03 22:03:12 +01:00
Daniel Roe
cda498b070
fix(nuxt): do not inline global styles in html response () 2022-11-03 20:17:43 +01:00
Daniel Roe
71ecffa234
fix(nuxt): don't force prerender / if user doesn't have that route ()
* fix(nuxt): don't force prerender `/` if user doesn't have `~/pages/index.vue`

* docs: add code comment
2022-11-03 15:52:03 +01:00
Daniel Roe
496fa14468
feat(nuxt): allow setting name and path for a route in definePageMeta () 2022-11-03 15:05:38 +01:00
Daniel Roe
491d02f6ca
fix(nuxt)!: use parser to generate page metadata () 2022-11-02 11:28:41 +01:00
Daniel Roe
bdacfa6ffe
fix(nuxt): pass async-data errors through to client () 2022-11-02 10:07:28 +01:00
Daniel Roe
28ffb7fea0
fix(nuxt): add vue-router to optimized deps () 2022-11-02 09:53:23 +01:00
pooya parsa
1f6b3be7d4
fix(nuxt, nuxi): improve pages creation and removal dx () 2022-10-27 17:50:24 +02:00
pooya parsa
265db50515
refactor(nuxt)!: cleanup schema and split nuxt 2 types () 2022-10-27 12:36:37 +02:00
Sacha STAFYNIAK
b010e3e861
feat: add dev-only component () 2022-10-26 14:43:37 +02:00
renovate[bot]
8e1bcae8c6
chore(deps): update all non-major dependencies ()
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-10-26 13:16:56 +02:00
Anthony Fu
bbea416c23
feat: upgrade unimport to 0.7.0 () 2022-10-26 10:28:00 +02:00
Daniel Roe
12808f175b
fix(nuxt): allow responding with custom headers from error.vue () 2022-10-26 10:25:27 +02:00
Daniel Roe
1d795f0274
fix(nuxt): call data refresh hook in parallel () 2022-10-25 17:29:35 +02:00
Daniel Roe
91eab1b312
feat(nuxt): add dev warnings when setPageLayout is used incorrectly () 2022-10-25 14:25:49 +02:00
Daniel Roe
59d8c51b5b
refactor(schema)!: disable app.pageTransition and app.layoutTransition by default () 2022-10-24 17:23:49 +02:00
Daniel Roe
5a88510cb7
feat(kit): add updateTemplates utility () 2022-10-24 10:53:02 +02:00
Daniel Roe
6bcd9cdeb1
fix(nuxt): avoid directly importing vue-router inside <NuxtLayout> () 2022-10-24 10:36:49 +02:00
Daniel Roe
e1ab5cf6d6
fix(nuxt): don't load payloads for external urls () 2022-10-21 10:27:58 +02:00
Christian Burkhart
a0a59e2157
fix(nuxt): routerBehavior comparison for hash block () 2022-10-21 10:27:40 +02:00
Daniel Roe
69a6a86d7c
feat(nuxt): make useFetch options reactive () 2022-10-21 10:13:14 +02:00
pooya parsa
0f2ef5d412
perf(nuxt): use simple JSON.stringify to compare params () 2022-10-19 17:31:05 +02:00
Johann Schopplich
7b16719649
fix(nuxt): router defaults overwrite custom options always () 2022-10-19 16:48:16 +02:00
Sébastien Chopin
0106e09e32
fix(nuxt): scroll to top on dynamic routes with different params ()
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-10-19 16:33:01 +02:00
pooya parsa
418b5671ff
fix: update h3 () 2022-10-19 15:59:11 +02:00
Daniel Roe
3333ef8dae
chore(nuxt): add type for headers () 2022-10-19 15:28:38 +02:00
Dmitriy
d82d145a0b
fix(nuxt): pass original request headers to the error page () 2022-10-19 15:03:01 +02:00
Joel Wenzel
ba3a11800c
feat(nuxt): default router scroll behavior ()
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 () 2022-10-19 09:55:32 +02:00
pooya parsa
2b2a5f3f89
fix(nuxt): ignore cache rules for middleware and errors () 2022-10-18 20:01:23 +02:00
Daniel Roe
cfaa46201a
fix(nuxt): lazy-load entry CSS () 2022-10-18 18:13:50 +02:00
Anthony Fu
e18da780a8
chore: upgrade unplugin to 0.10.x () 2022-10-18 11:36:06 +02:00
Daniel Roe
96a8807abf
fix(nuxt): allow disabling early hints () 2022-10-17 22:20:13 +02:00
Daniel Roe
a90b303d97
fix(nuxt): avoid preloading external routes () 2022-10-17 19:54:32 +02:00
Daniel Roe
7ebd1558ee
refactor: use getRouteRules () 2022-10-17 15:55:29 +02:00
Daniel Roe
2a4ebfb18b
perf(nuxt): improve link prefetching () 2022-10-17 13:15:29 +02:00
renovate[bot]
2cf9009d33
chore(deps): update all non-major dependencies () 2022-10-17 12:23:51 +02:00
Daniel Roe
9388e65971
refactor(nuxt): use h3 early hints util () 2022-10-17 11:16:19 +02:00
pooya parsa
895ecc7677
feat!: upgrade to nitropack@0.6 and h3@0.8 () 2022-10-15 20:42:57 +02:00
Harlan Wilton
c0e9f428f4
fix(nuxt): avoid head dom update on same route click () 2022-10-15 18:57:58 +02:00
Daniel Roe
5e7dfc2338
refactor(nuxt): deprecate <Script> component tag in template () 2022-10-15 13:20:24 +02:00
Benicio Cardozo
b9d6f37dfd
fix(nuxt): enable router when app/router.options.ts file is present () 2022-10-15 13:04:06 +02:00
Daniel Roe
d862a6bfdd
fix(nuxt)!: refresh to override previous requests by default () 2022-10-15 13:02:23 +02:00
Daniel Roe
6dcff8e428
feat(nuxt): add hook debug mode () 2022-10-15 12:56:15 +02:00
Julien Huang
23ad303f19
feat(nuxt)!: add <NuxtPage> to #components () 2022-10-14 10:36:52 +02:00
Daniel Roe
2083ed4a63
perf(nuxt): remove vue-router dependency from minimal app () 2022-10-14 10:36:03 +02:00
Benicio Cardozo
9fa147dc22
types: include nuxt-link target types ()
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-10-13 19:51:26 +02:00
Harlan Wilton
577573f3e8
perf(nuxt)!: use component loader to add meta components ()
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-10-13 17:54:06 +02:00
Harlan Wilton
9e6d292ba6
feat(nuxt): migrate to latest @vueuse/head () 2022-10-12 18:00:17 +01:00
Alex
6ef6eae2c7
fix(nuxt): don't inline styles for per-request ssr: false ()
Co-authored-by: Alex C <alex.canals@jkweb.ch>
2022-10-12 09:50:16 +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
26b1c9ca0e
feat(nuxt): parse html to treeshake client-only components () 2022-10-10 16:48:23 +01:00
Daniel Roe
5a2616cfee
perf(nitro): respond with early hints in node-based environments () 2022-10-10 12:02:35 +01:00
Daniel Roe
81a8a25834
feat(schema, nuxt): allow user-configurable serverDir () 2022-10-10 11:49:44 +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
Daniil Chudo
75f4a54f7e
feat(nuxt): add default slot to <NuxtLoadingIndicator> ()
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 () 2022-10-09 15:22:19 +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
Daniel Roe
1477d3759e
feat(nuxt): allow configuring plugins directory () 2022-10-07 09:13:12 +02:00
Daniel Roe
92ff066ab2
fix(nuxt): don't prerender index.html with a server () 2022-10-03 16:17:46 +02:00
MiniDigger | Martin
63c88056c7
fix(head): allow using the default slot for script content like noscript ()
Co-authored-by: Martin Benndorf <martin.benndorf@gothaer.de>
2022-10-03 16:16:37 +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
Julien Huang
2c8c21209b
fix(nuxt): fix lazy import of .client components ()
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-10-03 16:14:07 +02:00
Daniel Roe
a3fd4193ce
fix(nuxt): allow auto-import component with same filename () 2022-10-03 15:38:43 +02:00
Daniel Roe
4823b17836
fix(nuxt): handle schema types for relative module paths () 2022-10-03 15:32:01 +02:00