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