Daniel Roe
5a2616cfee
perf(nitro): respond with early hints in node-based environments ( #7893 )
2022-10-10 12:02:35 +01:00
Daniel Roe
81a8a25834
feat(schema, nuxt): allow user-configurable serverDir
( #7868 )
2022-10-10 11:49:44 +01: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
Daniel Roe
1477d3759e
feat(nuxt): allow configuring plugins directory ( #7981 )
2022-10-07 09:13:12 +02:00
Daniel Roe
92ff066ab2
fix(nuxt): don't prerender index.html with a server ( #7831 )
2022-10-03 16:17:46 +02:00
MiniDigger | Martin
63c88056c7
fix(head): allow using the default slot for script content like noscript ( #7858 )
...
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
( #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
Julien Huang
2c8c21209b
fix(nuxt): fix lazy import of .client components ( #7422 )
...
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 ( #7713 )
2022-10-03 15:38:43 +02:00
Daniel Roe
4823b17836
fix(nuxt): handle schema types for relative module paths ( #7946 )
2022-10-03 15:32:01 +02:00
Daniel Roe
4c5048826c
fix(nuxt): don't disable scripts in dev mode with experimental noScripts
( #7745 )
2022-09-26 11:52:43 +02:00
Daniel Roe
c0e99c7273
fix(nuxt): respect baseURL
when rendering payload path ( #7809 )
2022-09-26 11:16:34 +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
1c26e07141
feat(nuxt): support redirect
within page metadata ( #7746 )
2022-09-22 15:54:34 +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
Daniel Roe
347abcd065
fix(nuxt): strip non-.vue
extensions from component types ( #7673 )
2022-09-20 10:54:46 +02:00
Daniel Roe
f8a23564c3
fix(nuxt): don't treeshake client-only fallback templates ( #7659 )
2022-09-20 08:24:45 +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
pooya parsa
5605f1ce18
feat: allow disabling payload extraction ( #7588 )
2022-09-16 12:14:41 +02:00
pooya parsa
b933015850
feat(kit): useNitro()
utility ( #7557 )
2022-09-15 18:10:50 +02:00
pooya parsa
4b4558c2be
fix(nuxt): remove modulepreload for spa fallback routes with ssr:true
( #7553 )
2022-09-15 14:20:16 +02:00
Daniel Roe
5855ba4684
fix(nuxt): pass fully resolved path to nitro dist files ( #7494 )
2022-09-15 13:24:43 +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
6e18237e7a
fix(nuxt): disable payload extraction for spa generated pages ( #7535 )
2022-09-15 09:31:55 +02:00
pooya parsa
9ee5ca2b47
feat(nuxt): generate spa fallback for nuxt generate
( #7507 )
2022-09-14 17:16:24 +02:00
pooya parsa
9024d76165
fix(nuxt): add payload.client
plugin only for production build ( #7498 )
2022-09-14 15:01:02 +02:00
pooya parsa
ac0b3a63a2
feat(nuxt, kit): auto import defineNuxtConfig
( #7497 )
2022-09-14 13:10:10 +02:00
pooya parsa
3a60bf69ce
perf(nuxt): import defineNuxtConfig
from nuxt/config
( #7485 )
2022-09-14 12:37:30 +02:00
Daniel Roe
5d79ed5f9e
feat(nuxt): allow passing transition & keepalive props to <NuxtPage>
( #7492 )
2022-09-14 12:34:16 +02:00
Daniel Roe
ee75b48526
refactor(nuxt): use relative imports into composables ( #7487 )
2022-09-14 11:22:03 +02:00
Daniel Roe
40d090745b
fix(nuxt): only delete assets when building ( #7486 )
2022-09-13 23:57:58 +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
31de18100c
perf(nuxt): only inject preload helper when webpack is used ( #7460 )
2022-09-13 12:57:14 +02:00
Daniel Roe
3753ea0ead
feat(nuxt): add workspaceDir
option and add it to modulesDir
( #7439 )
2022-09-12 22:06:17 +02:00
pooya parsa
ceb61ada2b
refactor(schema): upgrade to untyped 0.5 ( #7452 )
2022-09-12 20:22:41 +02:00
Daniel Roe
13dc0b94c4
feat(nuxt): allow exposing type augmentations from extends layers ( #7442 )
2022-09-12 15:41:15 +02:00
Daniel Roe
5893dc201f
fix(nuxt): augment GlobalComponents from @vue/runtime-core
( #7448 )
2022-09-12 15:40:44 +02:00
Daniel Roe
46240a8c14
test(nuxt): add tests for import protection plugin ( #7416 )
2022-09-12 11:23:37 +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
9abc7a2122
fix(nuxt): do not apply import protection to top-level resolution ( #7344 )
2022-09-10 13:51:17 +02:00
Daniel Roe
83949c3734
fix(nuxt): always inline entry styles ( #7386 )
2022-09-10 11:43:17 +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
Daniel Roe
eab4706614
feat: allow client-side sourcemaps in production ( #7313 )
2022-09-07 13:32:10 +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
Daniel Roe
1ca294e125
fix(nuxt): don't override payload error if it is present ( #7290 )
2022-09-06 18:21:53 +02:00
Daniel Roe
a931667111
feat(kit): add addImportsSources
utility ( #7270 )
2022-09-06 12:17:41 +02:00
Anthony Fu
96b5b8fd6d
fix(nuxt): import and wrap client-only components once ( #7245 )
2022-09-06 09:40:25 +02:00
Daniel Roe
cc87d2a37a
feat(nuxt): support experimental flag to render no client-side js ( #7248 )
2022-09-05 15:46:47 +02:00
Pooya Parsa
80a66dc5af
chore(deps): update nitropack to 0.5.1
2022-09-05 13:03:42 +02:00
Kévin Schnekenburger
4bd1be9174
feat(nuxt): allow extending routes with custom alias ( #7074 )
...
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-09-05 09:53:01 +02:00
HomWang
1fc34e6c06
chore: lint ( #7213 )
2022-09-04 10:31:57 +02:00
pooya parsa
ac56ce7dd1
feat(nuxt): router with hash mode ( #6980 )
2022-09-04 10:11:28 +02:00
Daniel Roe
720506d263
feat(nuxt): custom history
and routes
for app/router.options.ts
( #7129 )
...
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-09-04 09:42:47 +02:00
Daniel Roe
de62520990
feat(nuxt, vite): inline global and component styles in server response ( #7160 )
...
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-09-03 15:03:30 +02:00
Harlan Wilton
fe3fc34b12
fix(head): case http-equiv
correctly ( #7190 )
2022-09-03 14:31:09 +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
Pooya Parsa
ee20a00f65
chore: fix typo in deprecation messages
2022-09-03 12:35:16 +02:00
pooya parsa
abd5dc58c9
fix: improve autoImports
deprecation dx ( #7158 )
2022-09-02 15:42:46 +02:00
pooya parsa
9eb95e2371
build(nuxt): update nitropack to 0.5.x
( #7141 )
2022-09-01 18:57:10 +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
Daniel Roe
a520185442
perf(nuxt): don't prefetch all global components ( #7069 )
2022-08-30 16:41:11 +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
Louis Haftmann
1e5aa85062
chore(nuxt): fix typo ( #6971 )
2022-08-26 12:09: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
Anthony Fu
856c2a6fbd
feat(nuxt): imports.autoImport
option to disable auto-imports ( #6768 )
2022-08-24 10:44:38 +02:00
pooya parsa
b836e17078
chore(deps): update hookable to 2.x
( #6883 )
2022-08-23 22:47:07 +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
Anthony Fu
fd94351ee9
refactor(nuxt)!: rename autoImports
to imports
( #6864 )
...
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-08-23 16:22:11 +02:00
Daniel Roe
45f39be4fa
fix(nuxt): pass analyze options through to nitro ( #6871 )
2022-08-23 15:54:39 +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
Daniel Roe
aab90efc19
fix(nuxt): throw hard error on initial spa load if aborted ( #6857 )
2022-08-23 10:42:54 +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
Daniel Roe
80abca9d2a
fix(nuxt): ensure component helper methods do not create side-effects ( #6789 )
2022-08-22 10:50:11 +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
405629dc35
fix(nuxt): use vue-devtools-stub
to mock @vue/devtools-api
for both cjs + esm ( #6713 )
2022-08-17 16:44:36 +02:00
Anthony Fu
69c281f384
fix(nuxt): fallback to static error page on server error ( #6697 )
...
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-08-17 11:14:00 +02:00
Julien Huang
a3a8706e43
fix(nuxt): include tag attrs for non self-closing tags in tree-shake regex ( #6675 )
...
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-08-16 15:22:10 +02:00
Daniel Roe
94214d6b32
feat(nuxt): exclude page chunks from being prefetched ( #6662 )
2022-08-16 13:19:39 +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
d2094ea37a
refactor(vite): enable strict type checking ( #6616 )
2022-08-15 15:40:06 +02:00
Daniel Roe
8a28c430b0
fix(nuxt): add #components
alias to tsconfig ( #6634 )
2022-08-15 15:10:08 +02:00
Daniel Roe
2ec2d9b484
fix(nuxt): remove stray commas in component templates ( #6580 )
2022-08-12 21:59:08 +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
Daniel Roe
70b024fbaa
fix(vite, nuxt): resolve relative to srcDir
rather than rootDir
( #6546 )
2022-08-12 11:11:09 +02:00
pooya parsa
b0bf25cf51
fix(nuxt): tree-shake devtools from production bundle ( #6538 )
2022-08-12 00:33:21 +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
pooya parsa
5ea0474225
v3.0.0-rc.7 ( #6375 )
2022-08-11 12:40:11 +02:00
Daniel Roe
5aa7288d97
fix(nuxt): log fatal errors as well as unhandled ones ( #6488 )
2022-08-10 17:47:23 +02:00
Daniel Roe
408febada4
refactor(nuxt)!: remove null
handling for titleTemplate
( #6487 )
2022-08-10 17:46:46 +02:00
Daniel Roe
5232c1b5b4
fix(nuxt): immediately call asyncData
handler ( #6472 )
2022-08-09 23:48:48 +02:00
pooya parsa
3e27c1c52b
fix(nuxt): interopDefault for page component imports ( #6468 )
2022-08-09 20:25:35 +02:00
Gregor Becker
0b22079409
fix(nuxt): ensure component dirs in node_modules
have lower scanning priority ( #6382 )
2022-08-09 11:13:54 +02:00
YuTin Liu
03cd6717ce
fix(nuxt): handle immediate errors when calling useAsyncData
( #6441 )
2022-08-09 10:01:25 +02:00
Anthony Fu
57f9a51c18
chore(deps): upgrade unplugin ( #6429 )
2022-08-08 22:12:07 +02:00
pooya parsa
c954dcb9e9
feat(nuxt): update nitropack to latest ( #6442 )
...
* feat(nuxt): update nitropack
* update renderer to use defineRenderHandler
* update
2022-08-08 21:12:15 +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
e3b0608470
fix(kit): move relative path handling back into nuxt templates ( #6430 )
2022-08-08 13:03:44 +02:00
Daniel Roe
fc1d7d9507
fix(schema): cleanup meta tags and deduplicate charset and viewport ( #6378 )
2022-08-07 11:53:53 +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
Daniel Roe
60656dfa2c
fix(nuxt): remove side-effect imports from page metadata ( #6376 )
2022-08-05 18:35:38 +02:00
Daniel Roe
746d553249
fix(nuxt): resolve plugins and middleware to their full path ( #6350 )
2022-08-04 17:15:42 +02:00
Daniel Roe
1f00a9f011
fix(nuxt): make route provided to page children reactive ( #6349 )
2022-08-04 13:30:18 +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
f75d0dfd47
fix(nuxt): extract component to provide route ( #6325 )
2022-08-03 12:38:46 +02:00
pooya parsa
000d81d760
fix(nuxt): generate 200.html
and 404.html
spa fallback files ( #6308 )
2022-08-02 18:45:44 +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
Sanjaiyan Parthipan
94d0c08066
feat(nuxt): add fetchpriority
attribute and literal typings for meta components ( #6251 )
2022-08-02 14:08:01 +02:00
Harlan Wilton
622c976cec
fix(nuxt): render head scripts that use body: true
( #6293 )
...
Co-authored-by: Damian Głowala <48835293+DamianGlowala@users.noreply.github.com>
2022-08-02 13:43:25 +02:00
Harlan Wilton
aa653ef6cb
fix(nuxt): avoid duplicate titleTemplate ( #6296 )
2022-08-02 13:20:44 +02:00
Daniel Roe
c72093b1f2
fix(nuxt): separate routes for different suspense forks ( #6275 )
2022-08-02 11:58:03 +02:00
Daniel Roe
b12fe7eb7c
fix(nuxt): narrow nuxt.config
import protection ( #6279 )
2022-08-01 19:25:31 +02:00
Daniel Roe
96cfe01973
fix(nuxt): do not allow catchalls to have child routes ( #6257 )
2022-08-01 09:51:46 +02:00
Kevin Marrec
5a042cd69b
feat(nuxt): extends support for app.vue
( #6228 )
2022-07-29 13:12:50 +02:00
Daniel Roe
748b063afa
fix(nuxt): don't call renderMeta if it is not defined ( #6201 )
...
* fix(nuxt): don't call renderMeta if it is not defined
* fix: check for nuxt existence as well
2022-07-28 15:11:47 +02:00
Daniel Roe
4e2667fcb7
feat(nuxt): add support for components/global
( #6070 )
...
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-07-27 15:05:34 +02:00
Daniel Roe
1230268a7b
fix(nuxt): allow useHead
to accept computed values ( #6174 )
2022-07-27 13:25:43 +02:00
pooya parsa
f58aa8114f
feat(nuxt): app:rendered
and app:response
hooks ( #6042 )
2022-07-27 11:53:53 +02:00
Victor Saa
5d023a80df
feat(nuxt, schema): add <NoScript>
component and noscript
typings ( #6139 )
2022-07-26 15:41:01 +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
Thomas
210cf30691
fix(nuxt): normalize manifest css file entries ( #6112 )
2022-07-25 14:05:58 +02:00
Daniel Roe
6c125bc941
fix(nuxt): don't ignore components dirs with same prefix ( #6116 )
2022-07-25 12:13:54 +02:00
Anthony Fu
416f98b6b4
fix(nuxt): auto import for components with external template ( #6053 )
2022-07-22 10:28:16 +02:00
Anthony Fu
d453729c75
fix(types): generate relative path in imports.d.ts
( #6054 )
2022-07-22 09:30:29 +02:00
Anthony Fu
d135608ef0
fix(nuxt): use relative path to generate plugin variables ( #6030 )
...
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-07-21 20:09:27 +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
Anthony Fu
1a862526fe
perf(nuxt): transform #imports
to improve tree-shaking ( #5763 )
2022-07-21 16:27:23 +02:00
Daniel Roe
54e672db19
fix(nuxt): always write nitro types when building ( #6035 )
2022-07-21 15:50:41 +02:00
Daniel Roe
8f7b9f904e
fix(pages): ignore expression delimiters within quotes ( #6033 )
...
* fix(pages): ignore expression delimiters within quotes
* perf: use re
* test: add test that would have failed
2022-07-21 15:49:48 +02:00
Anthony Fu
b4b98041f0
fix(kit, nuxt): always sort globby results ( #6029 )
2022-07-21 12:46:50 +02:00
Daniel Roe
fa8b0f7c79
feat(vite)!: upgrade vite to v3 ( #5398 )
2022-07-21 12:44:33 +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
pooya parsa
2e85cd0252
refactor(nuxt): add treeshakeClientOnly
experimental flag ( #5934 )
...
* refactor(nuxt): add `treeshakeClientOnly` experimental flag
* test: enable flag for fixture
2022-07-17 15:13:04 +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
df04a665ce
perf(nuxt): tree-shake client-only components from ssr bundle ( #5750 )
...
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-07-14 19:46:12 +02:00
pooya parsa
0ef08190ae
fix(nuxt): fix issues with vue-router
and @vue/devtools-api
bundling ( #5874 )
2022-07-13 14:42:24 +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
135dfdf73b
fix(nuxt): replace process.dev
in nitro bundle ( #5852 )
2022-07-12 14:32:07 +02:00
pooya parsa
56a3f1b615
fix(nuxt): extend nitro routes instead of overriding ( #5828 )
2022-07-12 12:56:40 +02:00
Daniel Roe
1840b96335
refactor(nuxt): add import protection to nitro config ( #5847 )
2022-07-12 12:55:32 +02:00
Daniel Roe
2d70507d1c
fix(nuxt): only tree-shake composables on their own lines ( #5850 )
2022-07-12 12:55:12 +02:00
Daniel Roe
b045b7141b
fix(nuxt): don't return stub function from tree-shaken composables ( #5786 )
2022-07-08 14:42:26 +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
pooya parsa
f321a56e63
fix(nuxt): use virtual server stub with ssr: false
( #5773 )
2022-07-07 18:51:42 +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
Daniel Roe
4d607080f5
feat(nuxt): tree-shake client and server-only composables ( #5749 )
2022-07-07 18:04:38 +02:00
Daniel Roe
271262e10a
feat(nuxt): prerender all pages by default ( #5709 )
2022-07-07 17:07:37 +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
renovate[bot]
9df6d2f1d2
chore(deps): update all non-major dependencies ( #5588 )
...
* chore(deps): update all non-major dependencies
* update lockfile
* update unimport
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-07-01 12:02:57 +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
Anthony Fu
7efdb486db
fix(vite-node): on-demand manifest ( #5017 )
2022-06-27 14:08:52 +02:00
Daniel Roe
d7d97cd7d1
fix(nuxt): prefer nuxt app context over getCurrentInstance
( #5456 )
2022-06-15 14:00:34 +02:00
Daniel Roe
e10517d4d7
fix(nuxt): normalize string transpile paths for windows ( #5461 )
...
* fix(nuxt): normalize string transpile paths for windows
* Update packages/nuxt/src/core/nuxt.ts
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-06-15 13:52:46 +02:00
Jaemin Choi
95b38e241d
fix(nuxt): don't add macro query to the end of id ( #5413 )
...
* fix(nuxt): don't add macro query to the end of id
* Update packages/nuxt/src/pages/macros.ts
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-06-12 23:46:31 +02:00
Daniel Roe
0f4fa5643f
fix(nuxt): ignore whitespace and commas within resolveComponent
( #5428 )
2022-06-12 23:22:15 +02:00
Daniel Roe
59da4c6dd4
fix(nuxt): exclude non-cwd auto-imports and don't process all files ( #5421 )
2022-06-12 22:12:43 +02:00
Daniel Roe
fbcbac01d6
fix(nuxt): don't debounce watcher and include layers ( #5002 )
2022-06-10 16:50:47 +02:00
Daniel Roe
11a7340883
feat(nuxt): experimental flag to use external vue dependencies ( #5083 )
2022-06-10 16:31:36 +02:00
Daniel Roe
f6bf4f7559
fix(nuxt): throw an error when using unknown route middleware ( #5323 )
2022-06-10 15:35:58 +02:00
Daniel Roe
846be5cee2
fix(nuxt): transform extends layers within node_modules
( #5042 )
2022-06-10 15:33:16 +02:00
Daniel Roe
970758e050
revert(nuxt): revert router hotfix #4983 ( #5394 )
2022-06-10 15:15:53 +02:00