Xin Du (Clark)
654b9a21d7
fix(schema): update vite import.meta
types ( #19338 )
2023-03-03 02:20:15 -08:00
Jakub Andrzejewski
5cfd835163
feat(nuxi): reload nuxt when restart
hook is called ( #19084 )
2023-03-01 04:15:01 -08: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
19bef5aba4
fix(schema): allow type inference of arrays in runtime config ( #18931 )
...
* fix(schema): allow type inference of arrays in runtime config
* test: add types fixture
2023-02-10 07:36:10 +00:00
Daniel Roe
01076d144f
feat(schema): add type hints for runtime config ( #18652 )
2023-02-06 15:27:35 -08:00
Lucas
198f9a23ec
docs(schema): add NuxtHooks interface documentation ( #18756 )
2023-02-05 04:17:15 -08:00
pooya parsa
637b88304e
fix(kit): avoid adding already installed modules to internal _installedModules
( #18647 )
2023-01-31 17:44:19 +01: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
Anthony Fu
586df1a817
feat(imports): imports:context
hook for unimport context ( #9971 )
2023-01-09 11:35:44 +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
Harlan Wilton
fddc8b2e6e
feat(nuxt, schema): official @vueuse/head v1 support ( #8975 )
2022-11-15 17:26:38 +01:00
Daniel Roe
74b81bbeaa
refactor(kit)!: remove support for module container ( #9010 )
2022-11-15 14:22:14 +01:00
pooya parsa
0ff4ebe808
feat: allow customizing root id and tag ( #8883 )
2022-11-10 12:41:02 +01:00
Daniel Roe
4bbd2618ce
feat(nuxt): auto-import utils/
directory ( #8817 )
2022-11-09 10:43:16 +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
pooya parsa
ea17148a6b
feat(kit, nuxt): support prerender:routes
and addPrerenderRoutes
( #8670 )
2022-11-03 22:03:12 +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
Anthony Fu
bbea416c23
feat: upgrade unimport
to 0.7.0 ( #8483 )
2022-10-26 10:28:00 +02:00
Daniel Roe
59d8c51b5b
refactor(schema)!: disable app.pageTransition
and app.layoutTransition
by default ( #8436 )
2022-10-24 17:23:49 +02:00
Daniel Roe
5a88510cb7
feat(kit): add updateTemplates
utility ( #8413 )
2022-10-24 10:53:02 +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
pooya parsa
895ecc7677
feat!: upgrade to nitropack@0.6
and h3@0.8
( #8218 )
2022-10-15 20:42:57 +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
Daniel Roe
1c26e07141
feat(nuxt): support redirect
within page metadata ( #7746 )
2022-09-22 15:54:34 +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
Alexander Lichter
1f3d9a1e84
fix(schema): only disallow vite server port and host ( #7554 )
2022-09-15 14:21:58 +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
bb8942a401
fix(schema): mark vite server as optional ( #7327 )
2022-09-07 17:38:15 +02:00
Daniel Roe
eab4706614
feat: allow client-side sourcemaps in production ( #7313 )
2022-09-07 13:32:10 +02:00
Alexander Lichter
ec210190d1
fix(schema): disallow setting vite server properties ( #7317 )
2022-09-07 13:26:06 +02:00
Daniel Roe
2bb898fa98
fix(webpack): promisify webpack dev/hot handlers using h3.promisifyHandler
( #7275 )
2022-09-07 10:35:21 +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
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
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
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
pooya parsa
68d12b468b
feat: allow extending with theme
config ( #7131 )
2022-09-01 12:05:02 +02:00
Lay
d50b01e348
fix(schema): sync types of vite v3.x ( #7104 )
...
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-08-31 20:21:58 +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
Anthony Fu
856c2a6fbd
feat(nuxt): imports.autoImport
option to disable auto-imports ( #6768 )
2022-08-24 10:44:38 +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
Anthony Fu
e1e39b7e79
refactor(nuxt, kit): improve type strictness ( #6685 )
2022-08-22 12:12:02 +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
Daniel Roe
94214d6b32
feat(nuxt): exclude page chunks from being prefetched ( #6662 )
2022-08-16 13:19:39 +02:00
pooya parsa
dae836a81d
feat(vite): allow disabling entry warmup ( #6647 )
...
* feat(vite): allow opt-out from warming up entries
* refactor: move to `warmupEntry`
2022-08-15 18:01:34 +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
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
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
pooya parsa
e6f957ab32
chore(schema): update vite config types ( #6230 )
2022-07-29 14:34:55 +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
Lay
b81c9c3a92
feat(schema): sync types of vite v2.9.x ( #5896 )
2022-07-14 16:03:18 +02:00
Daniel Roe
b5f5f7d5ba
perf(nuxt)!: remove legacy app context ( #5630 )
2022-07-06 21:15:00 +02:00
Daniel Roe
8c2c80e43e
feat(nuxt)!: support universal global middleware ( #5038 )
2022-06-27 14:10:29 +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
411eee3b77
fix(schema): add types for vite:
hooks ( #5472 )
2022-06-15 13:51:58 +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
Alex Kozack
1e8fba8378
fix(schema): add missed types title
, bodyAttrs
, htmlAttrs
( #5184 )
...
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-05-31 23:30:17 +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
e0125f49ff
fix(schema): add back PublicRuntimeConfig
interface for augmentation ( #4849 )
2022-05-06 15:27:42 +02:00
Anthony Fu
a862a67c80
feat(auto-import): custom include option ( #4834 )
2022-05-06 13:11:34 +02:00
Daniel Roe
8962cb7ef4
fix(schema): exclude vite
from DeepPartial
( #4772 )
2022-05-03 11:56:59 +02:00
Daniel Roe
1f8e3e2f33
feat(nitro): add nitro:build:before
hook ( #4304 )
...
* fix(nitro): add back `nitro:generate` hook
* fix: use `nitro:generate` hook for vite workarounds
* fix: remove comment
* fix: only call `nitro:generate` in build mode
* rename hook to `nitro:_build`
* fix: use `nitro:build:before`
* move dev guard
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-05-02 22:15:47 +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
pooya parsa
4712e99411
refactor!: rename nuxt3 to nuxt ( #4449 )
2022-04-20 10:52:39 +02:00
Daniel Roe
b38dc097f6
feat(nuxt3): allow separating client and server components ( #4390 )
...
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-04-19 21:13:55 +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
315e5b59e6
fix: nitropack fixes and upgrade to 0.2.x ( #4187 )
2022-04-08 02:05:27 +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
Daniel Roe
23e7afb5ec
fix(bridge): replace nuxt 3 auto-imports ( #3850 )
2022-03-24 14:15:32 +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
Anthony Fu
f69126e8f4
feat: support reactivity transform ( #3737 )
...
Co-authored-by: pooya parsa <pyapar@gmail.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-03-17 23:17:59 +01:00
Daniel Roe
6342e823a1
fix(webpack): support absolute urls in webpack css url/import ( #3743 )
2022-03-17 18:50:06 +01:00
pooya parsa
b03cdb7114
feat!(nuxt3): use individual config layers for extending ( #3717 )
2022-03-16 21:36:30 +01:00
pooya parsa
3f91d83a79
feat(schema): expose RouterOptions
and RouterConfigOptions
( #3713 )
2022-03-16 19:13:05 +01:00
Raja
f38cacec0f
feat(nuxt 3): support custom router options ( #3485 )
...
Co-authored-by: Raja Munisamy <raja.munisamy@carbar.com.au>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-03-15 17:57:41 +01:00
Daniel Roe
7bf338da8c
feat(nuxt3)!: enable using <NuxtLayout>
without pages integration ( #3610 )
2022-03-14 11:47:24 +01:00
Sébastien Chopin
570016c143
fix(vite): improve logs for client vs server ( #3634 )
2022-03-14 11:19:37 +01:00
Ahad Birang
e891ea0cca
feat(webpack): add webpack:devMiddleware
and webpack:hotMiddleware
hooks ( #3606 )
2022-03-13 19:43:41 +01:00
Daniel Roe
114cbe33d0
fix(schema): set static alias correctly ( #3614 )
2022-03-12 08:17:55 +01:00
Anthony Fu
ac40c9746c
feat(vite): experimental vite-node
support ( #2795 )
...
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-03-11 09:41:27 +01:00
Daniel Roe
5d58ef48af
feat(nitro, nuxt3): allow handling otherwise unhandled runtime errors ( #3464 )
...
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-03-11 09:22:16 +01:00
Anthony Fu
cff2f37cc8
refactor!: migrate to unimport
( #3386 )
2022-03-11 09:09:11 +01:00
pooya parsa
20f31712c1
feat(nuxt3): auto generate runtime config type declarations ( #3573 )
...
Co-authored-by: Rodrigo Mesquita <rodrigoriome@gmail.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
Co-authored-by: Rodrigo Mesquita <30835404+rrmesquita@users.noreply.github.com>
2022-03-09 14:41:24 +01:00
Daniel Roe
e12d2e9405
fix(kit): allow src
for addPluginTemplate
( #3542 )
2022-03-08 18:42:46 +01:00
Daniel Roe
33ffd8be0a
fix(schema): allow untyped keys in nuxt config ( #3527 )
2022-03-07 11:37:01 +01:00
Daniel Roe
754ff0c9e7
feat: .nuxtignore
support and isIgnored
kit utility ( #3424 )
2022-02-28 17:11:46 +01:00
Daniel Roe
720e31d498
fix(schema): make postcss plugins a record type ( #3403 )
2022-02-28 12:28:16 +01:00
Daniel Roe
73ba30fb69
refactor(schema,webpack)!: split out webpack and postcss build options ( #2812 )
...
* refactor: split out webpack and postcss build options
* feat(schema): set nuxt3 builder in config
* fix(schema): default postcss config file to false
* chore: update lockfile
* style: remove unused imports
* refactor(webpack): remove (previously disabled) babel config
* refactor: move shared vite options into schema
* fix(schema): omit __NUXT_BASE__ from defaults
* fix: move appDir-dependent options back to vite
* refactor: split out virtual modules
* refactor: extract compile/createDevMiddleware
* refactor: further improvements
* chore: remove `@nuxt/webpack-builder` dependency
* chore: update lockfile
* refactor: move `builder` option to top level
* fix: bind close to watcher instance
* chore: update lockfile
* fix: create portal between postcss & build.postcss.postcssOptions
* fix: remove duplicate
* fix: revert
* fix: use `postcss` directly
* fix: import builder from rootDir
* chore: dedupe webpack install
* test: update fixture to use `builder`
* fix: bind class in pify
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-02-25 20:11:01 +01:00
Daniel Roe
e45a780714
fix(vite,webpack): disable async entrypoint by default ( #3375 )
...
* fix(vite): don't use async entry
* fix: use async entry when built
* refactor: default to sync entry, with option to enable async
* refactor: move to experimental.asyncEntry
* Update packages/webpack/src/presets/base.ts
Co-authored-by: pooya parsa <pyapar@gmail.com>
* Update packages/vite/src/vite.ts
Co-authored-by: pooya parsa <pyapar@gmail.com>
* style: remove double space
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-02-25 13:42:34 +01:00
Xin Du (Clark)
48cc6086e4
fix(config): add analyze plugin options in bridge mode ( #3292 )
2022-02-21 12:25:31 +01:00
Daniel Roe
87eb7d0d39
perf!(nuxt3): disable global components by default ( #3305 )
2022-02-18 10:37:11 +01:00
Anthony Fu
467ab693b9
feat: shared logger and silent test logs ( #3259 )
...
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-02-16 22:34:32 +01:00
Daniel Roe
42373e060d
fix: clean up some type issues and add type test suite ( #3199 )
2022-02-15 10:50:11 +01:00
pooya parsa
aece3518b5
feat(nuxt3): experimental nitropack support ( #3160 )
2022-02-10 18:29:59 +01:00
Daniel Roe
4b17f0cbaf
docs(schema): clarify aliases and use more obvious example path ( #3143 )
...
* docs(schema): clarify aliases and use more obvious example path
* docs: add note
* Update packages/schema/build.config.ts
Co-authored-by: pooya parsa <pyapar@gmail.com>
* docs: add more info about tsconfig
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-02-09 22:27:35 +01:00
Daniel Roe
7825e2aa12
feat(nuxt3,bridge): add automatic schema augmentation declaration ( #3096 )
...
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-02-08 20:09:44 +01:00
pooya parsa
790a54897a
feat!(nuxt3): extends support for components/
directory ( #3108 )
...
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
2022-02-07 21:48:25 +01:00
pooya parsa
c9c0171b2d
refactor: rename options.layers
to options._extends
( #3109 )
2022-02-07 19:44:48 +01:00
Pascal Sthamer
dcae6e276b
docs: update documentation for configs ( #2819 )
2022-02-07 11:20:53 +01:00
Daniel Roe
8fbdab8151
docs: update links to new vuejs.org site ( #3091 )
2022-02-07 11:16:45 +01:00
Daniel Roe
fae2179ee9
chore: replace constructors with types ( #3056 )
2022-02-03 19:02:55 +01:00
pooya parsa
1672148a87
feat(kit): support config extends
using unjs/c12
( #3008 )
2022-01-31 22:13:58 +01:00
Daniel Roe
965f2abaee
feat(nuxt3): middleware type generation improvements ( #2945 )
2022-01-27 12:13:32 +01:00
Daniel Roe
dccc0c9c6f
feat(nuxt3): add middleware via route meta ( #2858 )
2022-01-25 13:29:11 +01:00
MrDizzystick
a53246a1a4
docs(schema): fix typo ( #2871 )
2022-01-24 11:30:50 +01:00
Daniel Roe
ed2d26f1b5
fix(schema): support inline module options ( #2852 )
2022-01-21 12:47:13 +01:00
Daniel Roe
f219f635ad
feat(nuxt3): allow disabling vue type shims ( #2773 )
2022-01-19 19:10:38 +01:00
Daniel Roe
d07d572263
feat: improve base url options ( #2655 )
2022-01-18 17:59:14 +01:00
Harlan Wilton
4bd7adae4a
feat(nuxi): call nuxt listen
hook for dev ( #2772 )
2022-01-18 17:36:01 +01:00
Daniel Roe
93ef422b5d
feat(nuxt3): add support for definePageMeta
macro ( #2678 )
2022-01-17 19:27:23 +01:00
Yasser Lahbibi
ca9761df9e
feat(auto-import): allow explicit transform exclusion patterns ( #2183 )
...
Co-authored-by: pooya parsa <pyapar@gmail.com>
2021-12-21 15:28:45 +01:00
pooya parsa
045b9edb5d
feat(kit, schema)!: finalize nuxt 3 module spec and utils ( #2275 )
2021-12-21 14:57:26 +01:00
Daniel Roe
c824905b99
fix(schema): handle null/undefined values in runtimeConfig
( #2456 )
2021-12-20 13:19:31 +01:00
Daniel Roe
0d85c9ef77
fix(schema): type render.compressor
( #2302 )
2021-12-10 14:48:52 +01:00