Commit Graph

2241 Commits

Author SHA1 Message Date
Daniel Roe cfaa46201a
fix(nuxt): lazy-load entry CSS (#8278) 2022-10-18 18:13:50 +02:00
renovate[bot] 290bbd392b
chore(deps): update dependency h3 to ^0.8.3 (#8277)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-18 12:46:31 +02:00
renovate[bot] c14f9f5638
chore(deps): update all non-major dependencies (#8265)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-10-18 12:36:48 +02:00
Anthony Fu e18da780a8
chore: upgrade unplugin to 0.10.x (#8271) 2022-10-18 11:36:06 +02:00
Anthony Fu 6567ac375d
feat(kit): support plugin array for `addVitePlugin` and `addWebpackPlugin` (#8270) 2022-10-18 11:09:11 +02:00
Daniel Roe 96a8807abf
fix(nuxt): allow disabling early hints (#8264) 2022-10-17 22:20:13 +02:00
Daniel Roe a90b303d97
fix(nuxt): avoid preloading external routes (#8255) 2022-10-17 19:54:32 +02:00
Daniel Roe 931ebec376
fix(nuxi): don't include`workspaceDir` 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 7ebd1558ee
refactor: use `getRouteRules` (#8251) 2022-10-17 15:55:29 +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
renovate[bot] 2cf9009d33
chore(deps): update all non-major dependencies (#8222) 2022-10-17 12:23:51 +02:00
Daniel Roe 9388e65971
refactor(nuxt): use h3 early hints util (#8245) 2022-10-17 11:16:19 +02:00
Pooya Parsa 573ed5ccda chore: update nitropack and lock 2022-10-16 15:51:47 +02:00
Christian Preston 8f7a7ec06e
feat(nuxi): `nuxi build-module` command (#7610)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-10-16 11:40:03 +02:00
Daniel Roe 5bf4461faa
fix(webpack): add global to new line (#8226) 2022-10-16 11:03:02 +02:00
renovate[bot] 0cfc5a2dd3
chore(deps): update all non-major dependencies (#8217) 2022-10-15 20:44:42 +02:00
pooya parsa 895ecc7677
feat!: upgrade to `nitropack@0.6` and `h3@0.8` (#8218) 2022-10-15 20:42:57 +02:00
Harlan Wilton c0e9f428f4
fix(nuxt): avoid head dom update on same route click (#8206) 2022-10-15 18:57:58 +02:00
Andrew Mudrov ddbfae1bec
fix(kit): log module id to the console when import fails (#8198) 2022-10-15 13:35:01 +02:00
Daniel Roe 5e7dfc2338
refactor(nuxt): deprecate `<Script>` component tag in template (#8197) 2022-10-15 13:20:24 +02:00
renovate[bot] b54df90f1d
chore(deps): update all non-major dependencies (#8189)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-15 13:14:05 +02:00
Benicio Cardozo b9d6f37dfd
fix(nuxt): enable router when `app/router.options.ts` file is present (#8193) 2022-10-15 13:04:06 +02:00
Daniel Roe d862a6bfdd
fix(nuxt)!: `refresh` to override previous requests by default (#8190) 2022-10-15 13:02:23 +02:00
Daniel Roe 6dcff8e428
feat(nuxt): add hook debug mode (#7690) 2022-10-15 12:56:15 +02:00
renovate[bot] e6fee7b963
chore(deps): update all non-major dependencies (#8176)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-14 10:46:53 +02:00
Julien Huang 23ad303f19
feat(nuxt)!: add `<NuxtPage>` to `#components` (#8145) 2022-10-14 10:36:52 +02:00
Daniel Roe 2083ed4a63
perf(nuxt): remove `vue-router` dependency from minimal app (#8188) 2022-10-14 10:36:03 +02:00
Benicio Cardozo 9fa147dc22
types: include `nuxt-link` target types (#8172)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-10-13 19:51:26 +02:00
renovate[bot] 8bc8489852
chore(deps): update dependency css-minimizer-webpack-plugin to ^4.2.2 (#8173)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-13 18:06:05 +02:00
renovate[bot] afe2e5fb19
chore(deps): update all non-major dependencies (#8141)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-13 17:54:38 +02:00
Harlan Wilton 577573f3e8
perf(nuxt)!: use component loader to add meta components (#8167)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-10-13 17:54:06 +02:00
renovate[bot] 600a6059c1
chore(deps): update all non-major dependencies (#8122)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-10-12 19:00:30 +01:00
Harlan Wilton 9e6d292ba6
feat(nuxt): migrate to latest `@vueuse/head` (#8000) 2022-10-12 18:00:17 +01:00
Alex 6ef6eae2c7
fix(nuxt): don't inline styles for per-request `ssr: false` (#8106)
Co-authored-by: Alex C <alex.canals@jkweb.ch>
2022-10-12 09:50:16 +01:00
renovate[bot] 723efb8266
chore(deps): update all non-major dependencies (#8090)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-11 22:54:33 +01:00
Daniel Roe 5f003a9738
feat(nuxt): add `ssr` route rule to enable SPA mode (#7938) 2022-10-11 17:03:52 +01:00
Julien Huang ee41bb6d5d
feat(nuxt): wrap `#components` client exports with createClientOnly (#7412)
Co-authored-by: jhuang@hsk-partners.com <jhuang@hsk-partners.com>
2022-10-11 16:26:03 +01:00
Daniel Roe ed1c704835
fix(vite): prevent overlap between vite assets and app routes (#7989) 2022-10-11 06:26:38 +01:00
renovate[bot] 6119fbcf76
chore(deps): update dependency @rollup/plugin-replace to v5 (#8086)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-10 16:48:48 +01:00
Daniel Roe 26b1c9ca0e
feat(nuxt): parse html to treeshake client-only components (#7527) 2022-10-10 16:48:23 +01:00
Daniel Roe 5a2616cfee
perf(nitro): respond with early hints in node-based environments (#7893) 2022-10-10 12:02:35 +01:00
renovate[bot] 9521fc7234
chore(deps): update dependency @nuxt/telemetry to ^2.1.6 (#8084)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-10 12:01:08 +01:00
renovate[bot] c3cda557f3
chore(deps): update all non-major dependencies (#8073)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-10 11:51:29 +01:00
Daniel Roe 81a8a25834
feat(schema, nuxt): allow user-configurable `serverDir` (#7868) 2022-10-10 11:49:44 +01:00
Daniel Roe 385674494d
feat(nuxt): refresh override for data fetching composables (#7864) 2022-10-10 11:33:16 +01:00
Daniel Roe 829a550580
feat(pages): add `validate` hook for `definePageMeta` (#7870) 2022-10-10 11:18:20 +01:00
Daniil Chudo 75f4a54f7e
feat(nuxt): add default slot to `<NuxtLoadingIndicator>` (#7128)
Co-authored-by: Alexander Lichter <github@lichter.io>
2022-10-10 11:12:36 +01:00
Daniel Roe e94c3b3704
fix(schema): evaluate env variables when resolving values (#8079) 2022-10-10 11:04:58 +01:00