Commit Graph

382 Commits

Author SHA1 Message Date
Daniel Roe
f000e8b605
fix(schema): default devServer host to undefined (#23206) 2023-09-14 10:23:07 +01:00
Daniel Roe
df6a992cd6
fix(nuxt): handle unset spa-loading fallback (#23120) 2023-09-11 13:07:28 +01:00
David Gonzalez
28af761c74
fix(nuxt): load spaLoadingTemplate if file exists (#23048) 2023-09-11 12:02:28 +01:00
Daniel Roe
a352d59a58
fix(nuxt): default spaLoadingTemplate to false (#22798) 2023-08-25 13:26:23 +01:00
Daniel Roe
23723305da
feat(schema): support setting hidden sourcemaps (#22787) 2023-08-24 13:06:44 +01:00
Daniel Roe
29f4eeff69
feat(nuxt): add support for routeRules defined within pages (#20391) 2023-08-23 21:38:17 +01:00
Harlan Wilton
d50a416304
feat(nuxt): add experimental.headNext unhead integration (#22620) 2023-08-14 20:33:00 +01:00
Damian Głowala
b5b2b47feb
feat(nuxt): make app.rootId optional (#22528) 2023-08-12 08:19:36 +01:00
Daniel Roe
758ae76709
fix(vite): include import.meta build vars in define as well (#22576) 2023-08-10 09:51:58 +01:00
Damian Głowala
cdcfb1bd82
fix(schema): ignore empty string in app.{rootId|rootTag} (#22543) 2023-08-09 08:29:08 +01:00
Damian Głowala
5244555880
chore(schema): enable linting (#22546) 2023-08-08 21:55:29 +01:00
pooya parsa
554f868bce
feat(nuxt): experimental native async context support (#20918)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-08-08 00:57:35 +02:00
Daniel Roe
305d6de030
feat(nuxt): use build plugin to access nuxt route injection (#21585) 2023-08-07 14:19:48 +01:00
Daniel Roe
caf8329151
test: remove separate test for baseurl (#22467) 2023-08-03 14:25:26 +01:00
Harlan Wilton
ac93558aa6
fix(nuxt): broken capo.js injectHead usage (#22447) 2023-08-03 07:15:43 +01:00
Harlan Wilton
a49ce7f494
perf(nuxt): experimental support of capo.js head tag order (#22431) 2023-08-01 20:47:31 +01:00
Daniel Roe
1b1f194e64
refactor(nuxt): add additional flag to enable remote sources (#22409) 2023-07-31 13:01:50 +01:00
Joaquín Sánchez
2df9a4b9db
fix(nuxt): test watch paths against all layer srcDirs (#22307) 2023-07-30 19:47:29 +01:00
Daniel Roe
9741f267be
refactor(nuxi,schema): move loading template into schema (#22336) 2023-07-26 23:07:23 +02:00
Daniel Roe
e2a6ad353d
feat(schema,vite): allow $client and $server vite env overrides (#22302) 2023-07-24 18:32:12 +01:00
Anthony Fu
03abb6aa4a
fix(nuxt): remove dist from the default ignore list (#22227) 2023-07-19 19:32:27 +02:00
Daniel Roe
0f16cd6124
perf(nuxt,schema): do not watch buildDir and node_modules (#22214) 2023-07-19 15:43:28 +01:00
Daniel Roe
a07cfb8663
refactor(cli,schema): add bundler module resolution flag (#22142) 2023-07-14 14:46:40 +01:00
Daniel Roe
4e32e70bba fix(schema): correct type of unctx options 2023-07-06 13:07:11 +01:00
renovate[bot]
927d637e3f
chore(deps): update all non-major dependencies (main) (#21955)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-07-05 18:31:22 +02:00
Nozomu Ikuta
381e0f8349
fix(schema): warn if user provides vite.publicDir (#21847) 2023-07-05 11:59:23 +02:00
jenjen75
f5920ff2e7
docs: centre example loading spinner (#21792) 2023-06-26 20:11:11 +01:00
Daniel Roe
c66c82e6a0
feat(nuxt): allow configuring spa loading indicator (#21640) 2023-06-20 19:55:20 +01:00
Žan Fras
0505c9147d
docs: remove example of deprecated reactivity transform (#21396) 2023-06-09 22:24:39 +01:00
Lehoczky Zoltán
7ff0c2d97a
fix(schema): add more explicit types for config schema (#21475) 2023-06-08 22:50:29 +01:00
Wilson Pinto
857511f448
feat(webpack, schema): add webpack experiments configuration (#21446) 2023-06-07 20:49:46 +01:00
Daniel Roe
525a06af38
feat(webpack): allow configuring esbuild-loader options (#21436) 2023-06-07 13:50:12 +01:00
Daniel Roe
6d62b65f97
fix(schema): remove obsolete terser option from webpack config (#21407) 2023-06-07 12:46:08 +01:00
Wilson Pinto
0f4ae15cee
fix(kit): temporarily inline lodash.template from lodash-es (#20892) 2023-06-05 22:52:43 +01:00
anhao
67f2232014
fix(vite): skip generating keys for locally scoped functions (#20955) 2023-06-05 20:15:12 +01:00
Daniel Roe
ec72066f91
fix(nuxt): key distinct pages differently for legacy asyncData (#21263) 2023-06-05 19:36:26 +01:00
Wilson Pinto
1e6d640bf7
fix(schema): add types for vue experimental features (#21364) 2023-06-05 00:06:01 +01:00
Lehoczky Zoltán
fd6a9b2ead
fix(schema): update vue-loader options type (#21363) 2023-06-04 23:07:53 +01:00
Daniel Roe
a302fe8062
perf(nuxt): avoid watching nested paths (#21256) 2023-05-31 14:11:46 +01:00
Daniel Roe
4e6369cefa docs: link to correct webpack css extraction loader
resolves #21058
2023-05-25 09:17:21 -05:00
Lehoczky Zoltán
2518cf8d37
fix(schema): remove duplicate @default jsdoc tag (#21010) 2023-05-22 19:12:58 +01:00
Daniel Roe
9dea9bc1b2
perf(nuxt): use granular watcher to avoid crawling ignored dirs (#20836) 2023-05-18 14:44:24 +01:00
Daniel Roe
038c84c4b1
fix(nuxt): add types for webpack/vite environments (#20749) 2023-05-15 17:17:39 +01:00
Daniel Roe
95a0e17898
feat(schema): enable rich json payloads by default (#20770) 2023-05-10 23:31:13 +01:00
Daniel Roe
a33d2e7aec chore: update target for externalVue removal 2023-05-10 22:57:51 +01:00
Eduardo San Martin Morote
5781cf1569
feat(nuxt): add experimental typedPages option (#20367) 2023-05-09 18:08:07 +01:00
Daniel Roe
566fa85fc8
fix(nuxt): run page meta plugin on all pages (and only pages) (#20628)
Co-authored-by: Julien Huang <julien.huang@outlook.fr>
2023-05-03 15:14:12 +01:00
Anthony Fu
fb76b3931a
feat(nuxi): allow greater control of nuxi analyze from cli (#20387) 2023-05-02 14:24:11 +01:00
Daniel Roe
8b86d39e30
refactor(schema): move runtimeCompiler option out of experimental (#20606) 2023-05-01 17:39:07 +01:00
Daniel Roe
65a8f4eb3e
fix(nuxt): restrict access to single renderer outside of test/rootDir (#20543) 2023-04-27 11:31:52 +01:00
Daniel Roe
4c200e4a2a
fix(nuxi,schema): support devServer.https: true (#20498) 2023-04-25 15:33:29 +01:00
Daniel Roe
a086af9692
perf: allow using @parcel/watcher for dev watcher (#20179) 2023-04-19 22:02:52 +01:00
Daniel Roe
83f0103a47
fix(schema): rely on installed telemetry types (#19640) 2023-04-19 22:02:15 +01:00
Daniel Roe
f366ab4eb8
chore: remove @ts-ignore and fix some issues (#20273) 2023-04-14 13:53:21 +01:00
Julien Huang
163913a744
feat(nuxt): add experimentalNoScripts route rule (#19805) 2023-04-11 07:17:44 -07:00
Harlan Wilton
4da289d150
fix(schema): allow ignorePrefix to be changed (#20202) 2023-04-11 06:55:25 -07:00
Daniel Roe
4285092879
feat(nuxt): support object-syntax plugins (#20003) 2023-04-11 04:58:43 -07:00
Daniel Roe
d6c3c2439a
feat(nuxt): support async transform of object properties (#20182) 2023-04-10 14:57:13 -07:00
Daniel Roe
e99f923aa5
feat(nuxt): add experimental View Transitions API support (#20092) 2023-04-10 04:33:14 -07:00
Anthony Fu
11a9780c80
feat(nuxt): prompt to install devtools when it's enabled (#20126) 2023-04-07 08:34:11 -07:00
Harlan Wilton
0c9823eb87
perf(head): disable @vueuse/head polyfill by default (#20131) 2023-04-07 06:10:35 -07:00
pooya parsa
9e503be0f2
feat(nuxt): experimental option for rich json payloads (#19205)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-04-07 03:34:35 -07:00
Daniel Roe
d4f718d8cd
refactor(schema): clean up experimental options (#20112) 2023-04-07 03:05:09 -07:00
Julien Huang
3fc9a75070
feat(nuxt): support vue runtime compiler (#4762) 2023-04-06 04:51:32 -07:00
Daniel Roe
f40b3e2492
feat(nuxt): support ~/~~/@/@@ aliases within layers (#19986) 2023-04-03 06:18:24 -07:00
Daniel Roe
c660b39447
fix(nuxt): disable x-nuxt-no-ssr header by default (#20024) 2023-04-03 03:39:01 -07:00
Daniel Roe
45cedd85bd
fix(schema): prefer src to rootDir aliases (#19937) 2023-03-28 01:37:06 -07:00
Daniel Roe
562cef24ca
perf(nuxt): experimentally disable vue server renderer nitro endpoint (#19825) 2023-03-23 09:04:40 +00:00
Anthony Fu
ce575b49e3
fix(nuxt): ignore falsy modules (#19684) 2023-03-19 16:16:13 -07:00
Hyunseung Lee
e42d63a25a
fix(schema): show payloadExtraction warning only when unset (#18516)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-03-13 04:06:43 -07:00
Harlan Wilton
c91e4d7933
feat(nuxt): add useHeadSafe and remove layer around head imports (#19548) 2023-03-10 00:01:21 -08:00
江麻妞
fdd4bddf35
docs: update various nitro links (#19562) 2023-03-09 07:25:47 -08:00
Daniel Roe
9036142b14
feat(nuxt): add watch option and refactor dev server restarting (#19530) 2023-03-09 03:46:08 -08:00
Daniel Roe
edaca1a299
fix(vite): allow disabling clear screen behaviour (#19531) 2023-03-09 01:19:02 -08:00
Julien Huang
1729d2e42f
feat(nuxt): add <NuxtClientFallback> component (#8216) 2023-03-08 13:13:06 -08:00
Harlan Wilton
8732720221
perf(head): drop @vueuse/head dependency (#19519) 2023-03-08 07:32:24 -08:00
Daniel Roe
df3ae8cb4e
feat(nuxt): enable chunk error handling by default (#19086) 2023-03-08 12:17:22 +00:00
Anthony Fu
624314600d
feat(vite): use custom logger to show vite logs (#19523) 2023-03-08 03:56:41 -08:00
Daniel Roe
60d07df4cc
feat(nuxt): support custom keyed composables (#19490) 2023-03-07 13:06:15 -08:00
Jakub Andrzejewski
3f1e02351d
feat(nuxi,schema): add support for setting nuxt logLevel (#19369) 2023-03-07 04:18:47 -08:00
Harlan Wilton
bb61496e98
feat(nuxt): allow configuring treeshakeable composables (#19383) 2023-03-07 01:30:05 -08:00
Samuel DIDIER-LAURENT
b9e6980a62
docs: update devServer.https example (#19486) 2023-03-06 14:54:40 -08:00
Alexander Lichter
a670e07703
docs: fix link to nitro routeRules (#19455) 2023-03-05 10:10:56 +00:00
pooya parsa
71225e50c5
feat(nuxt): enable config schema by default (#19172) 2023-03-04 06:39:26 -08:00
Daniel Roe
3681bddfd5
feat(nuxt): auto-register modules in ~/modules (#19394) 2023-03-03 17:52:55 +00:00
Hamish Claxton
c45b842037
fix(nuxi): read devServer options from nuxt config (#19055) 2023-02-16 05:17:56 -08:00
Nick Williams
9dc5413cbd
fix(vite): respect isCustomElement config for jsx transform (#19053) 2023-02-16 04:45:08 -08:00
Daniel Roe
96b09ea982
feat(nuxt): add experimental app:chunkError hook and reload strategy (#19038) 2023-02-16 04:43:58 -08:00
Daniel Roe
80f73d39ce docs: remove reference to obsolete static property
resolves #15009
2023-02-15 12:54:49 +00:00
Daniel Roe
5037dd6876
fix: use named export from defu in all places (#18624) 2023-01-30 04:09:48 -08:00
Daniel Roe
b8f6243621
fix(nuxt): provide fallback values for undefined runtime config (#18586) 2023-01-28 07:18:04 -08:00
pooya parsa
1af319e0fa
feat: experimental config schema (#18410) 2023-01-23 19:07:21 +01:00
Daniel Roe
19973c26f4 chore: update more repo links 2023-01-20 13:37:41 +00:00
Daniel Roe
081dc3254f chore: update internal repo/issue links to usenuxt/nuxt 2023-01-19 19:37:07 +00:00
Jose Morel
baf9d950db
feat(vite): support build.transpile as function (#7767)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-01-19 10:56:34 +00:00
Daniel Roe
a68da6d6a7
chore: case police update (#10085) 2023-01-13 15:00:57 +00:00
Daniel Roe
a3a0f005fa
docs: remove nuxt 2 information from generate schema (#10002) 2023-01-09 09:52:56 +00:00
BetonZM
f3263ebb9d
docs: clarify plugins are auto-registered, remove components default (#9815)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-01-02 19:18:50 +01:00
Anthony Fu
faf260757c
feat(vite): display production build stats (#9761) 2022-12-19 12:57:08 +01:00
Sébastien Chopin
c0be933b02
docs: link to nuxt.com instead of v3.nuxtjs.org (#9786) 2022-12-19 11:50:01 +00:00
Daniil Chudo
ab2456c295
refactor: split out type imports from value imports (#9225) 2022-12-11 21:44:52 +00:00
Rami Menai
73bbae3308
docs(schema): add example and description for imports.dirs (#9346) 2022-11-28 12:00:26 +01:00
Daniel Roe
ab125bd1c5
feat(nuxt): experimental server component islands (#5689)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-11-24 13:24:14 +01:00
Nathan Chase
13e4f8b679
fix: remove postcss.config from schema (#9181) 2022-11-19 14:49:37 +01:00
Daniel Roe
38d7f61ac2
fix(schema): initialise runtimeConfig.public with empty object (#9050) 2022-11-16 12:42:25 +01:00
pooya parsa
5ac9d85a49
refactor!: remove deprecated api (#9029) 2022-11-16 03:26:35 +01:00
pooya parsa
6e78f9dbb0
fix(nuxt)!: enable payload extraction only for nuxi generate (#9018) 2022-11-15 17:27:34 +01:00
pooya parsa
0ff4ebe808
feat: allow customizing root id and tag (#8883) 2022-11-10 12:41:02 +01:00
Daniel Roe
4e8f59bf70
fix(schema): add declarations to ignore list (#8787) 2022-11-09 10:01:09 +01:00
pooya parsa
44b4100e4c
fix(vite): enable fs strict mode (#8674) 2022-11-03 23:03:15 +01:00
Daniel Roe
f3fbef981c
fix(schema)!: use strict typescript mode by default (#8667) 2022-11-03 20:19:23 +01:00
Pascal Sthamer
2cbdf3684d
docs: add information about type checking to typescript.typeCheck config. (#8632)
#8630
2022-11-03 15:04:37 +01:00
pooya parsa
265db50515
refactor(nuxt)!: cleanup schema and split nuxt 2 types (#8487) 2022-10-27 12:36:37 +02:00
Daniel Roe
95ae87ba05
fix(schema): disable early hints by default (#8486) 2022-10-26 10:48:47 +02:00
Ondřej Misák
6d830c7629
docs: add note about early hints and nginx (#8485)
resolves https://github.com/nuxt/framework/issues/8306
2022-10-26 10:28:41 +02:00
Daniel Roe
59d8c51b5b
refactor(schema)!: disable app.pageTransition and app.layoutTransition by default (#8436) 2022-10-24 17:23:49 +02:00
Johnson Chu
5c6efdc945
docs: update links for external tools (#8382) 2022-10-21 10:08:48 +02:00
Daniel Roe
96a8807abf
fix(nuxt): allow disabling early hints (#8264) 2022-10-17 22:20:13 +02:00
Daniel Roe
931ebec376
fix(nuxi): don't includeworkspaceDir in tsconfig by default (#8256) 2022-10-17 19:53:04 +02:00
Daniel Roe
e44404f8e3
fix(schema): routeRules config (#8252) 2022-10-17 16:10:46 +02:00
Daniel Roe
df2bad76bc
feat(schema): add experimental routesRules shortcut (#7954)
* feat(schema): add `routes` as shortcut for `nitro.routes`

* docs: improve wording

* docs: update wording

* chore: match nitro version

* update jsdocs

* refactor: use `routeRules`

Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-10-17 13:22:30 +02:00
Daniel Roe
2a4ebfb18b
perf(nuxt): improve link prefetching (#8225) 2022-10-17 13:15:29 +02:00
Daniel Roe
6dcff8e428
feat(nuxt): add hook debug mode (#7690) 2022-10-15 12:56:15 +02:00
Harlan Wilton
9e6d292ba6
feat(nuxt): migrate to latest @vueuse/head (#8000) 2022-10-12 18:00:17 +01:00
Daniel Roe
81a8a25834
feat(schema, nuxt): allow user-configurable serverDir (#7868) 2022-10-10 11:49:44 +01:00
Daniel Roe
e94c3b3704
fix(schema): evaluate env variables when resolving values (#8079) 2022-10-10 11:04:58 +01:00
Daniel Roe
1477d3759e
feat(nuxt): allow configuring plugins directory (#7981) 2022-10-07 09:13:12 +02:00
pooya parsa
720da64b12
fix(nuxi, vite): support https with custom domain and hmr (#7680) 2022-09-20 12:54:52 +02:00
pooya parsa
5605f1ce18
feat: allow disabling payload extraction (#7588) 2022-09-16 12:14:41 +02:00
pooya parsa
43b9bcaeaf
fix(nuxi, vite): ipv6 support for nuxi dev (#7560)
* fix(nuxi): ipv6 support for `nuxi dev`

* fix vite: use listener url directly

* add url to schema
2022-09-15 18:10:36 +02:00
Daniel Roe
b2f147d5e2
fix(schema): update resolver for cssSourceMap with new sourcemap format [bridge] (#7541) 2022-09-15 13:10:36 +02:00
Mahdi Boomeri
f76c0fe450
docs(schema): change srcDir example to src/ (#7503) 2022-09-14 17:25:07 +02:00
pooya parsa
c98e5c774d perf: enable treeshakeClientOnly flag by default (#7484) 2022-09-14 12:41:12 +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
d81a742311
fix(schema): resolve ssr (#7359) 2022-09-08 16:15:33 +02:00
Daniel Roe
eab4706614
feat: allow client-side sourcemaps in production (#7313) 2022-09-07 13:32:10 +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
Tobias Diez
27c11884b4
docs: extend description of server handlers (#7187)
Co-authored-by: Damian Głowala <48835293+DamianGlowala@users.noreply.github.com>
2022-09-05 09:33:07 +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
pooya parsa
68d12b468b
feat: allow extending with theme config (#7131) 2022-09-01 12:05:02 +02:00
Daniel Roe
75053c29c2
style(schema): lint (#7025) 2022-08-29 12:42:05 +02:00
Daniel Roe
2d071eb48c
docs(schema): update prefix for runtime config env variables (#6999) 2022-08-29 11:47:02 +02:00
Anthony Fu
9db2229f70
refactor: enable strict type checking everywhere (#6943) 2022-08-26 17:47:29 +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
51dc73628c
feat!(schema): enable external vue by default (#6868) 2022-08-23 13:35:00 +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
Ilya Artamonov
657719f689
docs: update links to nitro.unjs.io (#6684)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-08-16 19:29:46 +02:00
Anthony Fu
1b2304b632
feat(schema, vite)!: enable vite-node by default (#6217)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-08-13 14:43:26 +02:00
Daniel Roe
0a513a56b1
feat(webpack, vite): default to .js extension for client (#6505) 2022-08-12 16:16:08 +02:00
Timur Bolotov
e55938fe6e
docs(schema): grammar, punctuation and typo fixes (#6469)
Co-authored-by: Damian Głowala <48835293+DamianGlowala@users.noreply.github.com>
2022-08-11 23:25:35 +02:00
pooya parsa
3e27c1c52b
fix(nuxt): interopDefault for page component imports (#6468) 2022-08-09 20:25:35 +02:00
pooya parsa
ee36ddf516
fix(nuxt): add viteServerDynamicImports as experimental flag (#6433) 2022-08-08 15:25:58 +02:00
Nathan Chase
70aec38428
docs: update vue-router links (#6421) 2022-08-08 10:27:19 +02:00
Daniel Roe
fc1d7d9507
fix(schema): cleanup meta tags and deduplicate charset and viewport (#6378) 2022-08-07 11:53:53 +02:00
Timur Bolotov
2cbdc5c07f docs: add missing periods 2022-08-07 11:02:31 +02:00
Haytham Salama
58abefc326
docs(schema) : add a missing comma in example config (#6394) 2022-08-05 21:00:40 +02:00
pooya parsa
e3534bcda5
fix(nuxi, kit): enable esmResolve flag for jiti (#6356) 2022-08-04 15:22:32 +02:00
Daniel Roe
8b5159f3c0
fix(webpack): output .mjs to use crossorigin preloads (#6232) 2022-07-29 14:50:02 +02:00
Daniel Roe
968087bcc5
fix(schema): add typings for vite.vue options (#6220)
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-07-29 11:57:45 +01: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
12ebe3aeb6
fix(schema): exclude functions from DeepPartial (#6176) 2022-07-27 15:04:14 +02:00
Daniel Roe
54da45e7a1
fix(schema): add empty noscript array (#6155) 2022-07-26 15:43:26 +02:00
Victor Saa
5d023a80df
feat(nuxt, schema): add <NoScript> component and noscript typings (#6139) 2022-07-26 15:41:01 +02:00
Daniel Roe
fa8b0f7c79
feat(vite)!: upgrade vite to v3 (#5398) 2022-07-21 12:44:33 +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
b5f5f7d5ba
perf(nuxt)!: remove legacy app context (#5630) 2022-07-06 21:15:00 +02:00
Haruaki OTAKE
ad420238b1
fix(schema, postcss): cssnano is enabled if not dev (#5583) 2022-06-23 20:27:23 +02:00
Daniel Roe
4fdea30cbb
fix(webpack): enable extractCSS by default (#4388) 2022-06-13 14:52:27 +02:00
Daniel Roe
11a7340883
feat(nuxt): experimental flag to use external vue dependencies (#5083) 2022-06-10 16:31:36 +02:00
webfansplz
9379606222
fix(schema, vite): resolve mode config correctly (#5255) 2022-06-03 16:09:04 +02:00
Tobias Schulmann
ca526cfa92
docs(config): correct naming of NUXT_APP_CDN_URL environment variable (#5032) 2022-05-20 11:40:30 +02:00
chris-zhu
78d1a87d4c
docs: fix typo in environment variable (#4990)
* chore: typo

* docs: style

Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-05-18 08:16:24 +02:00
Dominik Opyd
f0dbc951e6
docs: add missing parentheses in the alias example (#4995)
* docs(api): improving the parentheses of the `alias` examples in`nuxt.config`

* docs: revert change

Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-05-18 08:15:38 +02:00
pooya parsa
92847ed924
feat(nuxt, kit): add shortcuts to register custom server handlers (#4850) 2022-05-06 15:31:52 +02:00
Daniel Roe
59a8d43a8f
fix(schema): decrease recursion on DeepPartial (#4695) 2022-04-29 10:50:19 +02:00
Daniel Roe
650d12fa9c
feat: allow disabling sourcemap generation (#4509) 2022-04-22 17:35:42 +02:00
pooya parsa
13a386da90
feat(nuxt): enable nuxt telemetry (#4467) 2022-04-20 20:25:09 +02:00
Daniel Roe
71b808c8e9
fix(schema): use entire object for app properties (#4431) 2022-04-19 21:12:28 +02:00
Daniel Roe
74ce29b329
docs: remove __dirname and __filename from example code (#4381)
* docs: remove `__dirname` and `__filename` from example code

* fix: add `fileURLToPath`

* Update packages/schema/src/config/server.ts

Co-authored-by: pooya parsa <pyapar@gmail.com>

* Update docs/content/2.guide/6.going-further/7.testing.md

Co-authored-by: pooya parsa <pyapar@gmail.com>

Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-04-19 16:46:14 +02:00
Damian
513978e15b
docs: fix and improve multiple sections (#4396) 2022-04-16 15:53:36 +02:00
Daniel Roe
ea14a5c1c1
feat(vite,webpack): build/dev typechecking (#4379) 2022-04-15 17:28:42 +02:00
Daniel Roe
e0b2a3bfe4
chore: use node: prefix for built-in modules (#4384) 2022-04-15 17:19:05 +02:00
Daniel Roe
5dae097318
docs: update webpack code examples (#4355) 2022-04-14 17:27:53 +02:00
Daniel Roe
f4fb9160c6
feat(nuxt3): allow manually enabling/disabling the ad-hoc pages module (#4327) 2022-04-13 19:18:51 +02:00
Clément Ollivier
0457125ebd
chore: update links for new sitemap (#4286) 2022-04-12 11:59:32 +02:00
pooya parsa
2c540e7870
feat: introduce simplified runtimeConfig option (#4254) 2022-04-11 16:34:23 +02:00
Daniel Roe
1091d456a8
feat(nuxt, bridge): support titleTemplate, viewport and charset for useHead (#4221) 2022-04-11 11:03:31 +02:00
pooya parsa
9fbb9bec8d
fix: regressions from nitropack migration (#4157) 2022-04-07 14:57:57 +02:00
pooya parsa
11626eea4f
feat!: migrate to nitropack (#3956)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-04-07 13:28:04 +02:00
Andrey Mamatov
d2a814fa6a
docs(schema): update environment variable name for overriding baseURL (#4118) 2022-04-06 14:08:53 +02:00
Daniel Roe
e90b8c28d1
refactor(nuxt3,bridge)!: rename useMeta to useHead (#4066) 2022-04-05 16:02:29 +02:00
Daniel Roe
1890c55cbe
docs: add missing configuration documentation to nuxt 3 docs (#4020) 2022-04-01 15:02:26 +02:00
pooya parsa
7e6c4e2d5b
fix(schema): fix RouterConfig types (#3964) 2022-03-30 10:17:46 +02:00
Daniel Roe
c7f4e3c709
docs: update serverMiddleware to add warning on function and make example esm (#3894)
* docs: update serverMiddleware to add warning on function and make example esm

* Update packages/schema/src/config/_common.ts

Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-03-25 12:40:15 +01:00
Anthony Fu
11c460fa99
fix(vite-node): entry path and executing in production (#3854) 2022-03-24 13:35:09 +01:00
Daniel Roe
29078bba74
feat(nuxt3): support lazy and custom-resolved components (#3814) 2022-03-22 18:04:31 +01:00
Daniel Roe
acd22db576
docs: deprecate buildModules in schema (#3830) 2022-03-22 12:33:30 +01:00