1
0
mirror of https://github.com/nuxt/nuxt.git synced 2025-03-23 01:26:36 +00:00
Commit Graph

2246 Commits

Author SHA1 Message Date
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
Daniel Roe
2d071eb48c
docs(schema): update prefix for runtime config env variables () 2022-08-29 11:47:02 +02:00
Daniel Roe
33d82b65ef
fix(kit): sort aliases before resolving () 2022-08-29 11:45:29 +02:00
Daniel Roe
af2835fa7f
fix(vite): remove client manifest.json from public dir () 2022-08-29 11:37:53 +02:00
renovate[bot]
25ef26c38d
chore(deps): update all non-major dependencies ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-27 14:42:24 +02:00
Anthony Fu
9db2229f70
refactor: enable strict type checking everywhere () 2022-08-26 17:47:29 +02:00
Pooya Parsa
80875b7960 chore: fix type check
csp is not boolean but typed as boolean. we need to fix schema.
2022-08-26 13:03:48 +02:00
renovate[bot]
a64c056890
chore(deps): update all non-major dependencies ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-26 12:26:47 +02:00
Louis Haftmann
1e5aa85062
chore(nuxt): fix typo () 2022-08-26 12:09:29 +02:00
renovate[bot]
44d4531780
chore(deps): update all non-major dependencies ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-25 09:15:47 +02:00
Daniel Roe
403e0e6e6d
fix(nuxt): lazy composables shouldn't block setup in ssr: false () 2022-08-24 21:05:28 +02:00
Yaël Guilloux
1700bf822e
feat(nuxt): app.config improvements () 2022-08-24 18:35:02 +02:00
Alexander Lichter
a4dfe232f0
feat(nuxt): navigateTo supports external redirects ()
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 () 2022-08-24 10:44:38 +02:00
Alex Kozack
422d5c4fb5
fix(nuxi): build all types on typecheck command () 2022-08-23 23:04:26 +02:00
renovate[bot]
1347f4b5a0
chore(deps): update all non-major dependencies ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-23 23:01:41 +02:00
pooya parsa
b836e17078
chore(deps): update hookable to 2.x () 2022-08-23 22:47:07 +02:00
Conrawl Rogers
5ef135650f
feat(nuxi): support mode flags for add command ()
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-08-23 22:44:25 +02:00
Daniel Roe
f3499d788a
feat(nuxt): allow programmatically prefetching global components ()
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-08-23 21:12:22 +02:00
renovate[bot]
91b4e6c4ef
chore(deps): update dependency h3 to ^0.7.16 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-23 16:24:35 +02:00
Daniel Roe
fc82b3b340
feat(nuxt): config options for default keepalive, page & layout transitions () 2022-08-23 16:24:20 +02:00
Anthony Fu
fd94351ee9
refactor(nuxt)!: rename autoImports to imports ()
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 () 2022-08-23 15:54:39 +02:00
Daniel Roe
51dc73628c
feat!(schema): enable external vue by default () 2022-08-23 13:35:00 +02:00
Daniel Roe
cfb7e59171
feat(nuxt): add warning in dev mode if layouts/pages do not have a single root node () 2022-08-23 12:25:48 +02:00
Daniel Roe
aab90efc19
fix(nuxt): throw hard error on initial spa load if aborted () 2022-08-23 10:42:54 +02:00
renovate[bot]
347df12e9a
chore(deps): update dependency @babel/core to ^7.18.13 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-22 18:28:44 +02:00
TheColaber
9f1ecd14c4
feat(nuxt): allow getRouteFromPath to use objects () 2022-08-22 18:08:43 +02:00
renovate[bot]
ede727d1ba
chore(deps): update dependency vue-router to ^4.1.4 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-22 16:44:21 +02:00
Anthony Fu
e1e39b7e79
refactor(nuxt, kit): improve type strictness () 2022-08-22 12:12:02 +02:00
renovate[bot]
cdc75373d4
chore(deps): update dependency mlly to ^0.5.14 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-22 11:25:19 +02:00
renovate[bot]
c71dd082cd
chore(deps): update dependency webpack-bundle-analyzer to ^4.6.1 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-22 11:17:47 +02:00
pooya parsa
3b2b22e384
fix(nuxt): use deep assignment for app.config hmr () 2022-08-22 11:14:25 +02:00
renovate[bot]
7e2fbcfb1d
chore(deps): update all non-major dependencies ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-22 10:50:29 +02:00
Daniel Roe
80abca9d2a
fix(nuxt): ensure component helper methods do not create side-effects () 2022-08-22 10:50:11 +02:00
renovate[bot]
d3ccb79920
chore(deps): update dependency rollup to ^2.78.1 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-19 10:44:20 +02:00
Pooya Parsa
ad63817522 build: update unbuild and pkg-types
resolves 
2022-08-19 01:04:19 +02:00
renovate[bot]
aeeeef5b95
chore(deps): update all non-major dependencies ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-18 14:12:07 +02:00
Daniel Roe
faf00f526f
fix(vite): dedupe vue in client bundle () 2022-08-18 10:06:37 +02:00
Anthony Fu
43e6c0295f
fix(vite): improve vite-node module invalidation () 2022-08-18 10:05:37 +02:00
Julien Huang
c688e1898c
fix(nuxt): pass params to client-only slot () 2022-08-17 17:26:51 +02:00
pooya parsa
94f76ea930
feat(nuxt): app.config with hmr and reactivity support ()
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 () 2022-08-17 16:44:36 +02:00
Harlan Wilton
99c960fb05
fix(nuxi): properly detect hash and tag for upgrade changelog () 2022-08-17 15:45:45 +02:00
Harlan Wilton
e93f88c1e4
fix(nuxi): ensure nuxi upgrade runs in rootDir () 2022-08-17 15:44:10 +02:00
Anthony Fu
69c281f384
fix(nuxt): fallback to static error page on server error ()
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-08-17 11:14:00 +02:00
renovate[bot]
95b3fb21c5
chore(deps): update dependency esbuild to ^0.15.5 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-17 10:32:38 +02:00
renovate[bot]
dd34099da1
chore(deps): update all non-major dependencies ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-16 21:31:01 +02:00
Ilya Artamonov
657719f689
docs: update links to nitro.unjs.io ()
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-08-16 19:29:46 +02:00
renovate[bot]
f33516612c
chore(deps): update dependency defu to ^6.1.0 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-16 18:54:02 +02:00
renovate[bot]
43d331ee47
chore(deps): update dependency defu to ^6.0.1 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-16 15:22:32 +02:00
Julien Huang
a3a8706e43
fix(nuxt): include tag attrs for non self-closing tags in tree-shake regex ()
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-08-16 15:22:10 +02:00
renovate[bot]
49acae5f02
chore(deps): update dependency vite to ~3.0.8 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-16 15:14:41 +02:00
pooya parsa
4d5f768aaf
feat(nuxi): auto cleanup with project manifest changes () 2022-08-16 15:14:26 +02:00
Daniel Roe
94214d6b32
feat(nuxt): exclude page chunks from being prefetched () 2022-08-16 13:19:39 +02:00
renovate[bot]
63ccec6bdc
chore(deps): update all non-major dependencies ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-16 10:11:55 +02:00
pooya parsa
58c4753ed4
fix(vite): warmup server entries with ssr condition () 2022-08-15 18:03:00 +02:00
pooya parsa
dae836a81d
feat(vite): allow disabling entry warmup ()
* feat(vite): allow opt-out from warming up entries

* refactor: move to `warmupEntry`
2022-08-15 18:01:34 +02:00
Daniel Roe
33e7fc1752
fix(nuxt): don't set asyncData to existing payload on CSR if initialCache is disabled () 2022-08-15 15:55:46 +02:00
renovate[bot]
006f66900e
chore(deps): update all non-major dependencies ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-15 15:50:17 +02:00
Anthony Fu
d2094ea37a
refactor(vite): enable strict type checking () 2022-08-15 15:40:06 +02:00
Daniel Roe
385fa6037a
fix(vite): pass relative url as default base () 2022-08-15 15:10:53 +02:00
Daniel Roe
8a28c430b0
fix(nuxt): add #components alias to tsconfig () 2022-08-15 15:10:08 +02:00
Pooya Parsa
e109d65c30 chore: ignore typechecking for visualizer plugin 2022-08-15 14:55:12 +02:00
renovate[bot]
197a14b513
chore(deps): update dependency rollup to ^2.78.0 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-14 10:28:45 +02:00
Anthony Fu
1b2304b632
feat(schema, vite)!: enable vite-node by default ()
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-08-13 14:43:26 +02:00
pooya parsa
b4bea517df
fix(nuxi): update server.port and server.host with listener info () 2022-08-13 13:52:03 +02:00
renovate[bot]
47eaaa1a78
chore(deps): update all non-major dependencies ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-13 08:44:26 +02:00
Daniel Roe
2ec2d9b484
fix(nuxt): remove stray commas in component templates () 2022-08-12 21:59:08 +02:00
Anthony Fu
f350a70775
refactor(nuxt): enable strict type checking ()
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-08-12 19:47:58 +02:00
renovate[bot]
cb98c8b921
chore(deps): update all non-major dependencies ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-12 18:15:51 +02:00
Daniel Roe
0a513a56b1
feat(webpack, vite): default to .js extension for client () 2022-08-12 16:16:08 +02:00
pooya parsa
3960f513c3
v3.0.0-rc.8 () 2022-08-12 15:35:33 +02:00
Pooya Parsa
3c3adb779d chore(deps): update mlly and lockfile 2022-08-12 15:19:28 +02:00
renovate[bot]
38cd67d962
chore(deps): update all non-major dependencies ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-12 13:05:32 +02:00
Daniel Roe
70b024fbaa
fix(vite, nuxt): resolve relative to srcDir rather than rootDir () 2022-08-12 11:11:09 +02:00
pooya parsa
b0bf25cf51
fix(nuxt): tree-shake devtools from production bundle () 2022-08-12 00:33:21 +02:00
renovate[bot]
21c5a7579e
chore(deps): update all non-major dependencies ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-12 00:27:19 +02:00
Timur Bolotov
e55938fe6e
docs(schema): grammar, punctuation and typo fixes ()
Co-authored-by: Damian Głowala <48835293+DamianGlowala@users.noreply.github.com>
2022-08-11 23:25:35 +02:00
renovate[bot]
7a846a8292
chore(deps): update dependency webpack-hot-middleware to ^2.25.2 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-11 20:07:40 +02:00
pooya parsa
aaf4bcd025
fix(vite): remove /@fs from external ids () 2022-08-11 19:39:02 +02:00
pooya parsa
24a499d285
fix(nuxt)!: allow app:rendered to modify ssr context and add render:html () 2022-08-11 18:34:39 +02:00
pooya parsa
4f9337adcc
fix(nuxi): fix issues with nuxi upgrade () 2022-08-11 13:41:53 +02:00
pooya parsa
5ea0474225
v3.0.0-rc.7 () 2022-08-11 12:40:11 +02:00
Pooya Parsa
f356d037e5 chore: update lockfile and nitropack 2022-08-11 10:33:01 +02:00
renovate[bot]
5db559be13
chore(deps): update all non-major dependencies ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-11 10:03:34 +02:00
Daniel Roe
5aa7288d97
fix(nuxt): log fatal errors as well as unhandled ones () 2022-08-10 17:47:23 +02:00
Daniel Roe
408febada4
refactor(nuxt)!: remove null handling for titleTemplate () 2022-08-10 17:46:46 +02:00
renovate[bot]
cafd3938ed
chore(deps): update dependency mlly to ^0.5.9 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-10 17:00:35 +02:00
renovate[bot]
cd5c88d19f
chore(deps): update all non-major dependencies ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-10 14:10:03 +02:00
Daniel Roe
5232c1b5b4
fix(nuxt): immediately call asyncData handler () 2022-08-09 23:48:48 +02:00
renovate[bot]
fe26b943cc
chore(deps): update dependency nitropack to ^0.4.18 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-09 23:19:16 +02:00
pooya parsa
3e27c1c52b
fix(nuxt): interopDefault for page component imports () 2022-08-09 20:25:35 +02:00
renovate[bot]
bf3511c2c3
chore(deps): update dependency nitropack to ^0.4.16 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-09 20:05:26 +02:00
renovate[bot]
90bd6b0bb6
chore(deps): update all non-major dependencies ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-09 15:37:12 +02:00
Gregor Becker
0b22079409
fix(nuxt): ensure component dirs in node_modules have lower scanning priority () 2022-08-09 11:13:54 +02:00
YuTin Liu
03cd6717ce
fix(nuxt): handle immediate errors when calling useAsyncData () 2022-08-09 10:01:25 +02:00
Daniel Roe
ae388e7293
fix(vite): add module type to vite node entry () 2022-08-09 09:59:08 +02:00
renovate[bot]
1f32fdb569
chore(deps): update dependency unenv to ^0.5.3 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-08 22:14:57 +02:00
Anthony Fu
57f9a51c18
chore(deps): upgrade unplugin () 2022-08-08 22:12:07 +02:00
pooya parsa
c954dcb9e9
feat(nuxt): update nitropack to latest ()
* feat(nuxt): update nitropack

* update renderer to use defineRenderHandler

* update
2022-08-08 21:12:15 +02:00
renovate[bot]
745d6115d2
chore(deps): update all non-major dependencies ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-08 21:12:04 +02:00
Daniel Roe
46f36a4038
fix(nuxt): use payload error state as source of truth () 2022-08-08 16:33:31 +02:00
renovate[bot]
0cbba77011
chore(deps): update dependency h3 to ^0.7.14 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-08 15:40:26 +02:00
pooya parsa
ee36ddf516
fix(nuxt): add viteServerDynamicImports as experimental flag () 2022-08-08 15:25:58 +02:00
pooya parsa
4ec68db323
fix(nuxt): do not log 404 and showError as fatal by default () 2022-08-08 14:11:50 +02:00
renovate[bot]
e40286e04f fix(nuxi): upgrade listhen () 2022-08-08 13:49:31 +02:00
renovate[bot]
e25b7542b8
chore(deps): update all non-major dependencies ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-08 13:26:36 +02:00
Daniel Roe
e3b0608470
fix(kit): move relative path handling back into nuxt templates () 2022-08-08 13:03:44 +02:00
Nathan Chase
70aec38428
docs: update vue-router links () 2022-08-08 10:27:19 +02:00
Daniel Roe
9971fade76
chore: revert unplugin upgrade () 2022-08-08 06:45:42 +02:00
pooya parsa
ea868f5586
fix(vite): add hotfix for netlify deployments () 2022-08-07 11:56:00 +02:00
renovate[bot]
34c7858d0a
chore(deps): update all non-major dependencies ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-07 11:54:42 +02:00
Daniel Roe
fc1d7d9507
fix(schema): cleanup meta tags and deduplicate charset and viewport () 2022-08-07 11:53:53 +02:00
Daniel Roe
41d6f372a7
feat(nuxt): update to vue-bundle-renderer@0.4 () 2022-08-07 11:52:34 +02:00
Timur Bolotov
2cbdc5c07f docs: add missing periods 2022-08-07 11:02:31 +02:00
Daniel Roe
4623525f3f
fix(nuxt): type useRoute return () 2022-08-07 06:57:11 +02:00
Haytham Salama
58abefc326
docs(schema) : add a missing comma in example config () 2022-08-05 21:00:40 +02:00
Daniel Roe
60656dfa2c
fix(nuxt): remove side-effect imports from page metadata () 2022-08-05 18:35:38 +02:00
kazuya kawaguchi
0df9553ec4
refactor(test-utils): remove unused codes () 2022-08-05 10:35:08 +02:00
Daniel Roe
463c15e3d2
fix(vite): use url for entry on windows () 2022-08-04 17:24:35 +02:00
Daniel Roe
746d553249
fix(nuxt): resolve plugins and middleware to their full path () 2022-08-04 17:15:42 +02:00
renovate[bot]
bc26cc6467
chore(deps): update all non-major dependencies ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-04 17:15:24 +02:00
pooya parsa
e3534bcda5
fix(nuxi, kit): enable esmResolve flag for jiti () 2022-08-04 15:22:32 +02:00
Daniel Roe
1f00a9f011
fix(nuxt): make route provided to page children reactive () 2022-08-04 13:30:18 +02:00
pooya parsa
23329e0599
feat(vite): log vite-node hmr updates () 2022-08-04 13:13:12 +02:00
renovate[bot]
6d64aff6f2
chore(deps): update dependency unctx to v2 ()
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 () 2022-08-04 12:58:15 +02:00
renovate[bot]
d8cdd97f02
chore(deps): update dependency ohash to ^0.1.5 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-04 12:56:28 +02:00
renovate[bot]
079e09ea4b
chore(deps): update all non-major dependencies ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-04 12:52:10 +02:00
Anthony Fu
972f4b47bc
fix(vite): improve vite-node hmr () 2022-08-04 12:03:46 +02:00
renovate[bot]
0f5eceb81b
chore(deps): update dependency mlly to ^0.5.7 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-03 19:31:49 +02:00
renovate[bot]
db819a08d3
chore(deps): update dependency mlly to ^0.5.6 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-03 15:48:38 +02:00
Daniel Roe
fbe2459255
fix(nuxt): remove literal <script setup> from comment () 2022-08-03 13:49:09 +02:00
Daniel Roe
f75d0dfd47
fix(nuxt): extract component to provide route () 2022-08-03 12:38:46 +02:00
renovate[bot]
f8a9fa7b67
chore(deps): update all non-major dependencies ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-03 10:13:47 +02:00
pooya parsa
000d81d760
fix(nuxt): generate 200.html and 404.html spa fallback files () 2022-08-02 18:45:44 +02:00
Daniel Roe
4379e9d922
feat(nuxt): add setResponseStatus utility () 2022-08-02 18:01:59 +02:00
Julien Huang
2cdaf8065c
feat(nuxt): remove wrapper from client only components ()
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-08-02 17:05:02 +02:00
Conrawl Rogers
8efaad43bb
feat(kit): support followSymbolicLinks option for resolveFiles () 2022-08-02 14:25:35 +02:00
Sanjaiyan Parthipan
94d0c08066
feat(nuxt): add fetchpriority attribute and literal typings for meta components () 2022-08-02 14:08:01 +02:00
Harlan Wilton
622c976cec
fix(nuxt): render head scripts that use body: true ()
Co-authored-by: Damian Głowala <48835293+DamianGlowala@users.noreply.github.com>
2022-08-02 13:43:25 +02:00
renovate[bot]
7cc636ad93
chore(deps): update all non-major dependencies () 2022-08-02 13:42:26 +02:00
Harlan Wilton
aa653ef6cb
fix(nuxt): avoid duplicate titleTemplate () 2022-08-02 13:20:44 +02:00
Daniel Roe
c72093b1f2
fix(nuxt): separate routes for different suspense forks () 2022-08-02 11:58:03 +02:00
Daniel Roe
b12fe7eb7c
fix(nuxt): narrow nuxt.config import protection () 2022-08-01 19:25:31 +02:00
Daniel Roe
96cfe01973
fix(nuxt): do not allow catchalls to have child routes () 2022-08-01 09:51:46 +02:00
pooya parsa
5dc864d7bc
fix(kit): try extensions with resolvePath with absolute input () 2022-07-29 15:53:35 +02:00
renovate[bot]
63cbb773df
chore(deps): update dependency autoprefixer to ^10.4.8 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-29 14:50:14 +02:00
Daniel Roe
8b5159f3c0
fix(webpack): output .mjs to use crossorigin preloads () 2022-07-29 14:50:02 +02:00
pooya parsa
e6f957ab32
chore(schema): update vite config types () 2022-07-29 14:34:55 +02:00
Anthony Fu
6b20d9eff1
fix(vite): fix dist dir resolution () 2022-07-29 14:33:24 +02:00
Kevin Marrec
5a042cd69b
feat(nuxt): extends support for app.vue () 2022-07-29 13:12:50 +02:00
Daniel Roe
968087bcc5
fix(schema): add typings for vite.vue options ()
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-07-29 11:57:45 +01:00
renovate[bot]
8f65664ac0
chore(deps): update all non-major dependencies ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-29 11:42:57 +02:00
renovate[bot]
3fa32b9c22
chore(deps): update all non-major dependencies ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-29 11:40:44 +02:00
Daniel Roe
3f2eb3a3b1
fix(vite, webpack): generate composable keys based on order () 2022-07-29 11:40:04 +02:00
Anthony Fu
d4eba42f17
fix(kit): add implicit ohash dependency () 2022-07-29 10:44:28 +02:00
Cédric Exbrayat
943dc0e16e
chore(test-utils): error message typo () 2022-07-28 14:40:03 +01:00
Daniel Roe
748b063afa
fix(nuxt): don't call renderMeta if it is not defined ()
* 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 ()
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-07-27 15:05:34 +02:00
Daniel Roe
12ebe3aeb6
fix(schema): exclude functions from DeepPartial () 2022-07-27 15:04:14 +02:00
Daniel Roe
1230268a7b
fix(nuxt): allow useHead to accept computed values () 2022-07-27 13:25:43 +02:00
pooya parsa
f58aa8114f
feat(nuxt): app:rendered and app:response hooks () 2022-07-27 11:53:53 +02:00
Anthony Fu
d15c4727a8
refactor(vite): reuse logic and improve code splitting () 2022-07-27 11:01:25 +02:00
Anthony Fu
5e62e0fec0
fix(vite): use externality to handle vite-node externals () 2022-07-26 15:49:17 +02:00
Anthony Fu
f0485d83d9
perf(vite-node): only invalidate cache for user code () 2022-07-26 15:46:06 +02:00
Daniel Roe
54da45e7a1
fix(schema): add empty noscript array () 2022-07-26 15:43:26 +02:00
renovate[bot]
71b40a109f
chore(deps): update all non-major dependencies ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-26 15:41:31 +02:00
Victor Saa
5d023a80df
feat(nuxt, schema): add <NoScript> component and noscript typings () 2022-07-26 15:41:01 +02:00
hecateball
e08a493bac
fix(nuxt): add error event declaration to the <NuxtErrorBoundary> component () 2022-07-26 15:36:58 +02:00
Anthony Fu
a585086c8b
fix(nuxt): clear vite-node runner cache after each render () 2022-07-26 15:13:40 +02:00
pooya parsa
25ac652652
feat(nuxi): nuxi cleanup command () 2022-07-25 17:19:17 +02:00
Daniel Roe
133723ff76
build(vite): add missing pkg-types dependency () 2022-07-25 17:18:46 +02:00
David Tai
3a822c7177
refactor(nuxt): enhance useFetch and useLazyFetch request type ()
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-07-25 14:37:39 +02:00
Daniel Roe
8298cf27e6
fix(vite): allow overriding client hmr options ()
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-07-25 14:29:41 +02:00
Thomas
210cf30691
fix(nuxt): normalize manifest css file entries () 2022-07-25 14:05:58 +02:00
Daniel Roe
40defd9f36
fix(nuxi): load .env file before starting dev server () 2022-07-25 14:01:18 +02:00
Mohammad Hosein Feizi
cccafd620f
fix(vite): resolve tsconfig.json for vue-tsc type checker () 2022-07-25 13:02:42 +02:00
renovate[bot]
8d469e7f15
chore(deps): update all non-major dependencies ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-25 12:17:44 +02:00
renovate[bot]
02b01013df
chore(deps): update all non-major dependencies () 2022-07-25 12:15:13 +02:00
Daniel Roe
6c125bc941
fix(nuxt): don't ignore components dirs with same prefix () 2022-07-25 12:13:54 +02:00
Daniel Roe
c7d072c495
fix(vite): ignore baseurl when pruning manifest () 2022-07-25 11:52:21 +02:00
Anthony Fu
416f98b6b4
fix(nuxt): auto import for components with external template () 2022-07-22 10:28:16 +02:00
renovate[bot]
147ba56f6b
chore(deps): update devdependency playwright to ^1.24.0 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-22 09:48:44 +02:00
Anthony Fu
d453729c75
fix(types): generate relative path in imports.d.ts () 2022-07-22 09:30:29 +02:00
Anthony Fu
d135608ef0
fix(nuxt): use relative path to generate plugin variables ()
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 ()
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 () 2022-07-21 16:27:23 +02:00
Daniel Roe
45b449ed05
fix(vite): invalidate virtual files when changed () 2022-07-21 16:21:58 +02:00
Daniel Roe
4d80c43d25
fix(kit): resolve aliases in plugin src () 2022-07-21 16:05:41 +02:00
renovate[bot]
6313f69a06
chore(deps): update all non-major dependencies ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-21 15:59:00 +02:00
Daniel Roe
54e672db19
fix(nuxt): always write nitro types when building () 2022-07-21 15:50:41 +02:00
Daniel Roe
8f7b9f904e
fix(pages): ignore expression delimiters within quotes ()
* 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 () 2022-07-21 12:46:50 +02:00
Daniel Roe
fa8b0f7c79
feat(vite)!: upgrade vite to v3 () 2022-07-21 12:44:33 +02:00
Daniel Roe
92269dde44
fix(nuxt)!: change statusCode type to number for error page template () 2022-07-20 19:00:42 +02:00
Daniel Roe
bdbeb886ae
fix(webpack): do not resolve #internal/nitro alias internally () 2022-07-20 18:59:05 +02:00
renovate[bot]
72c3af7fc5
chore(deps): update all non-major dependencies ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-20 18:58:21 +02:00
Daniel Roe
edbe4fe799
feat(vite): check types with vue-tsc () 2022-07-20 17:15:27 +02:00
pooya parsa
88f4525a4f
v3.0.0-rc.6 () 2022-07-18 12:06:04 +02:00
renovate[bot]
6065f12ae4
chore(deps): update all non-major dependencies ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-18 11:58:26 +02:00
yoho
296c5526fd
fix(nuxi): add missing types field () 2022-07-18 11:34:56 +02:00
pooya parsa
ffd40d16c8
fix(vite): use more strict app entry check in dev-bundler () 2022-07-17 18:01:16 +02:00
pooya parsa
0839e93333
fix(vite): unset build.watch options for production build () 2022-07-17 17:10:27 +02:00
Anthony Fu
4abcfb6bf9
fix(vite): avoid creating server for production build () 2022-07-17 16:17:07 +02:00
renovate[bot]
d0673ec60e
chore(deps): update all non-major dependencies ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-17 15:13:15 +02:00
pooya parsa
2e85cd0252
refactor(nuxt): add treeshakeClientOnly experimental flag ()
* refactor(nuxt): add `treeshakeClientOnly` experimental flag

* test: enable flag for fixture
2022-07-17 15:13:04 +02:00
pooya parsa
f5fd58ebfe
fix(pkg): use fixed version range for monorepo packages () 2022-07-16 00:43:43 +02:00
Daniel Roe
dce07e5831
fix(nuxt): lazy load and tree-shake error templates ()
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
a54925f880
fix(kit): only call viteExtendConfig callback once if possible () 2022-07-15 23:34:29 +02:00
renovate[bot]
78d4eabc41
chore(deps): update all non-major dependencies ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-15 22:30:25 +02:00
renovate[bot]
dcf7e85646
chore(deps): update dependency ohash to ^0.1.4 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-15 12:09:03 +02:00
Daniel Roe
df04a665ce
perf(nuxt): tree-shake client-only components from ssr bundle ()
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-07-14 19:46:12 +02:00
Lay
b81c9c3a92
feat(schema): sync types of vite v2.9.x () 2022-07-14 16:03:18 +02:00
renovate[bot]
c610ead868
chore(deps): update dependency ohash to ^0.1.3 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-14 16:02:21 +02:00
Anthony Fu
537b6e35bd fix(vite): set transform mode for vite-node ()
close 
2022-07-14 16:01:21 +02:00