1
0
mirror of https://github.com/nuxt/nuxt.git synced 2025-03-25 02:26:38 +00:00
Commit Graph

2162 Commits

Author SHA1 Message Date
Daniel Roe
ee75b48526
refactor(nuxt): use relative imports into composables () 2022-09-14 11:22:03 +02:00
Daniel Roe
40d090745b
fix(nuxt): only delete assets when building () 2022-09-13 23:57:58 +02:00
Alex Liu
addcb5cd47
feat(nuxt): support prefetching <nuxt-link> ()
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-09-13 22:20:23 +02:00
renovate[bot]
65481d4d3d
chore(deps): update all non-major dependencies ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-13 20:57:14 +02:00
Daniel Roe
31de18100c
perf(nuxt): only inject preload helper when webpack is used () 2022-09-13 12:57:14 +02:00
renovate[bot]
1be5e4170b
chore(deps): update dependency strip-literal to ^0.4.1 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-13 12:55:12 +02:00
Daniel Roe
3753ea0ead
feat(nuxt): add workspaceDir option and add it to modulesDir () 2022-09-12 22:06:17 +02:00
pooya parsa
ceb61ada2b
refactor(schema): upgrade to untyped 0.5 () 2022-09-12 20:22:41 +02:00
Daniel Roe
9382b42d7b
fix(vite): don't fail builds for virtual modules that don't support inlining () 2022-09-12 17:14:11 +02:00
Daniel Roe
13dc0b94c4
feat(nuxt): allow exposing type augmentations from extends layers () 2022-09-12 15:41:15 +02:00
Daniel Roe
5893dc201f
fix(nuxt): augment GlobalComponents from @vue/runtime-core () 2022-09-12 15:40:44 +02:00
renovate[bot]
e2daa50960
chore(deps): update all non-major dependencies ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-12 12:17:38 +02:00
Daniel Roe
d5078168be
fix(vite): use same asset filenames between server and client () 2022-09-12 12:12:41 +02:00
Daniel Roe
46240a8c14
test(nuxt): add tests for import protection plugin () 2022-09-12 11:23:37 +02:00
Daniel Roe
563cf7c1c9
fix(nuxt): use more specific FetchError for useFetch errors () 2022-09-12 11:23:19 +02:00
pooya parsa
888bd7c145
feat(nuxt): payload rendering support ()
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-09-10 15:57:16 +02:00
renovate[bot]
674b53b3f9
chore(deps): update all non-major dependencies ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-10 15:39:55 +02:00
pooya parsa
270055b86d
feat(cli)!: use giget 0.1x with template registry for nuxi init () 2022-09-10 15:37:25 +02:00
Daniel Roe
9abc7a2122
fix(nuxt): do not apply import protection to top-level resolution () 2022-09-10 13:51:17 +02:00
Daniel Roe
83949c3734
fix(nuxt): always inline entry styles () 2022-09-10 11:43:17 +02:00
Daniel Roe
e60d03b940
fix(nuxt): de-default layout/component imports () 2022-09-10 11:41:32 +02:00
Daniel Roe
0ab29f6f2a
fix(vite): write dev manifest before spa build () 2022-09-09 12:28:07 +02:00
Daniel Roe
e05f8ee126
fix(nuxi): don't include an array of paths within an array () 2022-09-09 12:17:44 +02:00
Daniel Roe
e4b8c2dc88
fix(vite): warmup improvements () 2022-09-09 11:54:20 +02:00
Pooya Parsa
0cc49e2a20 build(nuxi): add node to export conditions 2022-09-08 18:05:59 +02:00
pooya parsa
e0c5907f0a
feat(nuxi): switch to unjs/giget for nuxi init () 2022-09-08 17:43:04 +02:00
Daniel Roe
e22bbcc380
fix(vite): update render if it is invalidated () 2022-09-08 16:17:22 +02:00
pooya parsa
a418895595
fix(kit): add default config layer without nuxt.config file () 2022-09-08 16:15:52 +02:00
Daniel Roe
d81a742311
fix(schema): resolve ssr () 2022-09-08 16:15:33 +02:00
Daniel Roe
2b37d72eb9
fix(vite): allow overriding vite sourcemap () 2022-09-08 15:52:30 +02:00
Daniel Roe
be77d477d0
fix(webpack): don't parse styles for composable keys () 2022-09-08 10:55:30 +02:00
Daniel Roe
9c3bef4a01
fix(nuxt): allow abortMiddleware to receive a nuxt error or error options () 2022-09-08 10:52:00 +02:00
renovate[bot]
849b8cb702
chore(deps): update all non-major dependencies ()
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-09-08 10:45:39 +02:00
Daniel Roe
bb8942a401
fix(schema): mark vite server as optional () 2022-09-07 17:38:15 +02:00
Alex Kozack
6b3a1a4256
feat(nuxt): filter support for clearNuxtData () 2022-09-07 15:25:37 +02:00
Daniel Roe
eab4706614
feat: allow client-side sourcemaps in production () 2022-09-07 13:32:10 +02:00
Alexander Lichter
ec210190d1
fix(schema): disallow setting vite server properties () 2022-09-07 13:26:06 +02:00
Alex Kozack
b2f573f685
feat(nuxt): add clearNuxtData ()
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 ()
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-09-07 11:47:40 +02:00
Daniel Roe
577a7b681e
perf(vite): remove duplicate css links from rendered page when inlined () 2022-09-07 10:41:08 +02:00
Daniel Roe
2bb898fa98
fix(webpack): promisify webpack dev/hot handlers using h3.promisifyHandler () 2022-09-07 10:35:21 +02:00
Daniel Roe
5a69f48244
fix(nuxt): don't try to set cookie after redirect () 2022-09-07 10:34:16 +02:00
Julien Huang
f8f5771646
perf(nuxt): cache createClientOnly wrapper using weakmap () 2022-09-07 10:31:11 +02:00
Daniel Roe
1ca294e125
fix(nuxt): don't override payload error if it is present () 2022-09-06 18:21:53 +02:00
renovate[bot]
4e0c2c4485
chore(deps): update all non-major dependencies ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-06 18:15:47 +02:00
Daniel Roe
a931667111
feat(kit): add addImportsSources utility () 2022-09-06 12:17:41 +02:00
Daniel Roe
524ba557eb
fix(nuxi): pass value of https through to vite-node () 2022-09-06 11:45:14 +02:00
Daniel Roe
a4fa070ad5
refactor(vite): reuse resolved server entry from context () 2022-09-06 10:21:17 +02:00
renovate[bot]
b00918dcc1
chore(deps): update all non-major dependencies ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-06 09:48:30 +02:00
Anthony Fu
96b5b8fd6d
fix(nuxt): import and wrap client-only components once () 2022-09-06 09:40:25 +02:00
Daniel Roe
d115b01a35
fix(vite): pass ssr condition to getModuleByUrl () 2022-09-05 22:52:14 +02:00
renovate[bot]
497972be5d
chore(deps): update dependency @nuxt/ui-templates to ^0.3.3 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-05 15:47:15 +02:00
Daniel Roe
cc87d2a37a
feat(nuxt): support experimental flag to render no client-side js () 2022-09-05 15:46:47 +02:00
renovate[bot]
2db8fec006 deps(vite): update vite to 3.1.x () 2022-09-05 13:41:55 +02:00
Pooya Parsa
80a66dc5af chore(deps): update nitropack to 0.5.1 2022-09-05 13:03:42 +02:00
renovate[bot]
9249e5e7a6
chore(deps): update all non-major dependencies ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-05 11:04:08 +02:00
Ricardo Gobbo de Souza
b31405f6fd
feat(test-utils): add mockFn and mockLogger utils ()
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-09-05 10:51:00 +02:00
Daniel Roe
1abd5f1959
fix(vite): use baseURL + assetsDir as base in dev mode () 2022-09-05 10:48:35 +02:00
Kévin Schnekenburger
4bd1be9174
feat(nuxt): allow extending routes with custom alias ()
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-09-05 09:53:01 +02:00
Tobias Diez
27c11884b4
docs: extend description of server handlers ()
Co-authored-by: Damian Głowala <48835293+DamianGlowala@users.noreply.github.com>
2022-09-05 09:33:07 +02:00
renovate[bot]
908c95035b
chore(deps): update dependency vite-plugin-checker to ^0.5.1 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-05 09:32:34 +02:00
renovate[bot]
2376697cfd
chore(deps): update all non-major dependencies ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-04 16:40:18 +02:00
HomWang
1fc34e6c06 chore: lint () 2022-09-04 10:31:57 +02:00
pooya parsa
ac56ce7dd1
feat(nuxt): router with hash mode () 2022-09-04 10:11:28 +02:00
Daniel Roe
720506d263
feat(nuxt): custom history and routes for app/router.options.ts ()
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-09-04 09:42:47 +02:00
renovate[bot]
0180a33abc
chore(deps): update all non-major dependencies ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-04 08:52:26 +02:00
renovate[bot]
215833a257
chore(deps): update dependency @nuxt/telemetry to ^2.1.5 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-03 19:15:12 +02:00
renovate[bot]
6b999d63ef
chore(deps): update dependency h3 to ^0.7.21 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-03 19:11:34 +02:00
AndreyYolkin
b97cc27469
fix(kit, nuxi): semver regexp to support nuxt-edge current releases (bridge) () 2022-09-03 15:08:23 +02:00
Daniel Roe
de62520990
feat(nuxt, vite): inline global and component styles in server response ()
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 () 2022-09-03 14:31:09 +02:00
Damian Głowala
3e9f1efb1e
fix(nuxt): update default redirect code of navigateTo to 302 Found () 2022-09-03 14:30:03 +02:00
pooya parsa
9caa9ca31f
v3.0.0-rc.9 () 2022-09-03 12:36:47 +02:00
Pooya Parsa
ee20a00f65 chore: fix typo in deprecation messages 2022-09-03 12:35:16 +02:00
renovate[bot]
386407ec84
chore(deps): update all non-major dependencies () 2022-09-03 12:03:06 +02:00
Anthony Fu
537338f116
fix(nuxt): pass and format vite-node build errors ()
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-09-03 12:02:14 +02:00
pooya parsa
abd5dc58c9
fix: improve autoImports deprecation dx () 2022-09-02 15:42:46 +02:00
pooya parsa
9eb95e2371
build(nuxt): update nitropack to 0.5.x () 2022-09-01 18:57:10 +02:00
pooya parsa
62e38cd7e5
fix(nuxi): fix version search path () 2022-09-01 12:56:18 +02:00
pooya parsa
68d12b468b
feat: allow extending with theme config () 2022-09-01 12:05:02 +02:00
pooya parsa
2d30a1db8b
feat(nuxi): display nuxt and nitro versions for dev and build commands () 2022-09-01 11:34:56 +02:00
Daniel Roe
6fbbf8c5bc
refactor(nuxt): remove unused meta:register hook () 2022-09-01 11:08:56 +02:00
HomWang
cafc955fb8
docs: add explanatory comment before universal router stubs ()
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 () 2022-08-31 22:19:28 +02:00
pooya parsa
0339a23372
fix(kit)!: handle prerelease constraint () 2022-08-31 21:18:05 +02:00
renovate[bot]
e38e1de740
refactor: apply lints from @nuxtjs/eslint-config-typescript v11 ()
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-08-31 20:34:17 +02:00
Lay
d50b01e348
fix(schema): sync types of vite v3.x ()
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-08-31 20:21:58 +02:00
renovate[bot]
09c609ed54
chore(deps): update dependency rollup to ^2.79.0 () 2022-08-31 14:53:57 +02:00
Daniel Roe
b90d286631
feat(nuxt): add setPageLayout utility () ()
Co-authored-by: HomWang <516310460@qq.com>
2022-08-31 10:02:48 +02:00
renovate[bot]
c92b6a01bb
chore(deps): update dependency postcss-import to v15 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-31 09:42:32 +02:00
renovate[bot]
483759b0bb
chore(deps): update dependency unenv to ^0.6.2 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-30 16:43:05 +02:00
Daniel Roe
a520185442
perf(nuxt): don't prefetch all global components () 2022-08-30 16:41:11 +02:00
Daniel Roe
fd6d1d4fbe
fix(vite): sanitize client asset chunk names () 2022-08-30 15:13:23 +02:00
pooya parsa
afc9d9bfc8
perf(nuxt): tree-shake asyncData client logic from server ()
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 ()
Co-authored-by: Ohb00 <43827372+OhB00@users.noreply.github.com>
2022-08-30 12:34:09 +02:00
renovate[bot]
aece2cd3c2
chore(deps): update dependency h3 to ^0.7.17 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-30 11:02:40 +02:00
renovate[bot]
857ca56cc5
chore(deps): update all non-major dependencies ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-30 10:59:32 +02:00
renovate[bot]
c4b5013874
chore(deps): update dependency esbuild to ^0.15.6 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-30 10:38:02 +02:00
renovate[bot]
426b5af5ac
chore(deps): update dependency unctx to ^2.0.2 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-29 15:30:33 +02:00
Daniel Roe
75053c29c2
style(schema): lint () 2022-08-29 12:42:05 +02:00