Commit Graph

101 Commits

Author SHA1 Message Date
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