Commit Graph

598 Commits

Author SHA1 Message Date
pooya parsa
81bf1c065e
fix(bridge, nuxt3): backward compatibility to access runtime config in client (#4283) 2022-04-12 11:04:26 +02:00
renovate[bot]
e95ac2efb5
chore(deps): update all non-major dependencies (#4271)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-12 08:46:22 +02:00
pooya parsa
4d1a6ba6ce
fix(nuxt3)!: preserve runtime-config structure for client-side (#4267) 2022-04-11 21:55:43 +02:00
Ahad Birang
0d5ec20a4b
fix(nitro): pass resolved handlers to the nitro config (#4263) 2022-04-11 20:38:42 +02:00
renovate[bot]
2ca704641b
chore(deps): update all non-major dependencies (#4266)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-11 20:19:52 +02:00
renovate[bot]
180afc854f
chore(deps): update all non-major dependencies (#4261)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-11 17:56:24 +02:00
pooya parsa
2c540e7870
feat: introduce simplified runtimeConfig option (#4254) 2022-04-11 16:34:23 +02:00
Daniel Roe
bc1e00a8df style: remove unused import 2022-04-11 15:13:21 +01:00
Daniel Roe
38cd6f0f03
fix(nuxt3): re-enable computed metadata in useHead (#4260) 2022-04-11 16:09:04 +02:00
Daniel Roe
1091d456a8
feat(nuxt, bridge): support titleTemplate, viewport and charset for useHead (#4221) 2022-04-11 11:03:31 +02:00
renovate[bot]
ed4946b06a
chore(deps): update all non-major dependencies (#4207)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-09 12:14:50 +02:00
Daniel Roe
edd0b30896
fix(nuxt3,bridge): rename error handler url (#4215) 2022-04-09 11:52:42 +02:00
Daniel Roe
f2fc135721
fix(nuxt3): remove useMeta warning (#4216)
* fix(nuxt3): remove useMeta warning for now

* Update packages/nuxt3/src/head/runtime/composables.ts

Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-04-09 11:46:29 +02:00
pooya parsa
315e5b59e6
fix: nitropack fixes and upgrade to 0.2.x (#4187) 2022-04-08 02:05:27 +02:00
Daniel Roe
bc7627df07
fix(nuxt3): export useRequestEvent from #app (#4169) 2022-04-07 17:40:18 +02:00
pooya parsa
9fbb9bec8d
fix: regressions from nitropack migration (#4157) 2022-04-07 14:57:57 +02:00
Daniel Roe
76eedb852e
fix(nuxt3)!: add default cookie path to / (#4019) 2022-04-07 13:35:46 +02:00
renovate[bot]
cc9714ff40
chore(deps): update all non-major dependencies (#4155)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-07 13:32:00 +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
Daniel Roe
368610e8a7
feat(nuxt3): allow explicitly importing components (#4150) 2022-04-07 13:03:37 +02:00
Daniel Roe
540e23c7a8
fix(nuxt3): normalize watched paths (#4133) 2022-04-06 18:02:56 +02:00
Alex Liu
b7dc0931c4
feat(nuxt3): let useAsyncData() return value that error can defined type by generics (#4109) 2022-04-06 18:02:45 +02:00
Daniel Roe
eb22ce9ae2
fix(nuxt3): move new router behavior to useActiveRoute (#4124) 2022-04-06 14:45:18 +02:00
Daniel Roe
da46b8d165
fix(nuxt3): parse macro queries for components (#4121) 2022-04-06 12:05:37 +02:00
Daniel Roe
7a706445f8
fix(nuxt3)!: sync route object to currently resolved page (#4092) 2022-04-05 17:36:18 +02:00
Daniel Roe
cb74ab6ecc
fix(nuxt3): rename runtime meta to head in build config (#4101) 2022-04-05 16:51:55 +02:00
Anthony Fu
e1e3f5063d
fix(deps): upgrade unimport (#4095) 2022-04-05 16:03:41 +02:00
Daniel Roe
e90b8c28d1
refactor(nuxt3,bridge)!: rename useMeta to useHead (#4066) 2022-04-05 16:02:29 +02:00
Daniel Roe
c426f3e5e0
fix(nuxt3): set pending to false when using cached data (#4067) 2022-04-05 13:51:07 +02:00
Daniel Roe
f39fd9f0a0
fix(bridge): transpile @nuxt/bridge-edge (#4070) 2022-04-05 12:41:45 +02:00
Daniel Roe
9f6eff7511
fix(nuxt3): use inferred type for useFetch (#4058) 2022-04-04 12:56:41 +02:00
Kevin Marrec
dda0cebc76
feat(nuxt3): extends support for app/router.options (#3939) 2022-04-04 10:23:11 +02:00
Daniel Roe
fdd38f958c
feat(nitro): support for rendering ssr teleports to body (#3909)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-04-01 16:06:48 +02:00
Anthony Fu
4c77c88325
feat: support async plugins and middlewares (#3884) 2022-04-01 11:55:23 +02:00
renovate[bot]
0c5d9872ac
chore(deps): update all non-major dependencies (#3979)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-31 21:59:36 +02:00
pooya parsa
323803832a
feat(nuxt)!: use paylod cache for initial data fetching by default (#3985)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-03-31 12:24:28 +02:00
Anthony Fu
8dd77d7b6e
feat: refreshNuxtData function and app:data:refresh hook (#3929)
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-03-28 19:12:41 +02:00
Ahad Birang
90415d4674
fix(nitropack): respect custom output dir (#3940) 2022-03-28 13:56:35 +02:00
Daniel Roe
9ebea904f4
fix(bridge): don't call nuxt app if instance is inaccessible (#3906)
* fix(bridge): don't call nuxt app if instance is inaccessible

* fix: early return if no instance, for clarity
2022-03-25 16:48:37 +01:00
renovate[bot]
5fa9d79303
chore(deps): update all non-major dependencies (#3888)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-03-25 15:43:14 +01:00
Daniel Roe
7c1a8ae0d9
fix(bridge): define mixin outside plugin, to avoid memory leak (#3900) 2022-03-25 13:51:07 +01:00
Kevin Marrec
e34ed887f2
fix(nuxt3): use path for uniqueness of routes when resolving (#3895) 2022-03-25 12:55:05 +01:00
Kevin Marrec
e7b57fa34c
fix(nuxt3): improve types of uniqueBy utility (#3897) 2022-03-25 12:54:40 +01:00
Daniel Roe
dc1064f79a
fix(nuxt3): avoid #_config app import in dev mode (#3896) 2022-03-25 12:38:36 +01:00
Daniel Roe
23e7afb5ec
fix(bridge): replace nuxt 3 auto-imports (#3850) 2022-03-24 14:15:32 +01:00
renovate[bot]
1ad65998a4
chore(deps): update all non-major dependencies (#3859)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-24 13:14:12 +01:00
renovate[bot]
a8317830a8
chore(deps): update all non-major dependencies (#3857)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-23 12:58:44 +01:00
Kevin Marrec
7c0d2e176c
feat(nuxt3): extends support for pages & middleware directories (#3783)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-03-22 19:12:54 +01:00
Daniel Roe
29078bba74
feat(nuxt3): support lazy and custom-resolved components (#3814) 2022-03-22 18:04:31 +01:00
Daniel Roe
7458dd1aa6
fix(nuxt3): use shared module for dynamic paths (#3757)
* test: add tests for dynamic paths + relative assets

Co-authored-by: Anthony Fu <hi@antfu.me>

* fix: rework client config and use shared module for dynamic paths

* resolves webpack public path regression

* refactor: use more similar names to nitro equivalent

* fix: align config exports

* refactor: remove `__` prefix within dynamic paths module

* refactor: use '#_config' to indicate internal alias

* Update packages/nuxt3/src/core/templates.ts

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

* refactor: use `#_config` alias and rename to `paths.mjs`

Co-authored-by: Anthony Fu <hi@antfu.me>
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-03-22 16:51:26 +01:00