Commit Graph

348 Commits

Author SHA1 Message Date
Dizzy ad52b795e2
fix: apply subsequent meta changes (#3271) 2022-02-16 22:34:06 +01:00
pooya parsa 77aeaa3288
fix(nuxt3)!: custom response type for `useFetch` using first generic (#3268) 2022-02-16 21:50:19 +01:00
Daniel Roe 3fccbfa252
fix(nuxt3): update meta return type to `bodyScriptsPrepend` (#3257) 2022-02-16 18:56:30 +01:00
Daniel Roe 3c563fa48f
feat(bridge): support `addRouteMiddleware`, `navigateTo` and `abortNavigation` (#3193) 2022-02-15 10:51:19 +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
Daniel Roe ef69e746d2
fix(nuxt3): prevent removing and re-adding tags before mount (#3212)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-02-15 10:43:17 +01:00
Daniel Roe 3589a2d55f
fix(nuxt3): return error page on blocked initial navigation (#3201) 2022-02-14 15:18:07 +01:00
Daniel Roe 9734856fb0
fix(nuxt3): return render function for `<Head>` (#3213) 2022-02-14 11:46:27 +01:00
Daniel Roe e727bb4192
fix(nuxt3): re-enable tree-shaking `definePageMeta` (#3180) 2022-02-11 09:59:52 +01:00
pooya parsa aece3518b5
feat(nuxt3): experimental nitropack support (#3160) 2022-02-10 18:29:59 +01:00
Anthony Fu b2438917b9
perf(vite): bypass unchanged plugin transform (#3150) 2022-02-10 10:30:34 +01:00
Anthony Fu cb663b0285
chore(vite): unifiy vite plugin naming (#3151) 2022-02-10 10:29:49 +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
Daniel Roe ba522b2034
fix(nuxt3): trigger template regeneration (and reset import list) when auto-imports update (#3127) 2022-02-08 20:09:24 +01:00
Daniel Roe dabb72ed7c
fix(nuxt3): remove lookbehind for safari support (#3115) 2022-02-08 00:42:39 +01:00
pooya parsa 03d5fdde2d
feat(kit)!: expose `resolvePath` (#3110) 2022-02-07 22:00:20 +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
Daniel Roe 29171bd105
fix: sanitize import filenames in generated imports (#2216) 2022-02-07 14:45:47 +01:00
Daniel Roe b3e9cf6fd6
fix(nuxt3)!: key routes by interpolated path (#2976) 2022-02-07 12:32:04 +01:00
Daniel Roe c1148d4d77
refactor: write declarations to `<buildDir>/types` (#3067)
* refactor: write declarations to `<buildDir>/types`

* fix: update relative imports
2022-02-07 11:20:01 +01:00
Daniel Roe b91150d67c
docs: add `keepalive` docs (#3090) 2022-02-07 11:17:28 +01:00
Daniel Roe f867841327
fix(nuxt3): remove existing globals from auto-imports (#3035) 2022-02-03 11:21:35 +01:00
Daniel Roe 083f90b719
refactor: extract `<NuxtLayout>` from `<NuxtPage>` (#3011) 2022-01-31 19:58:19 +01:00
Daniel Roe 8ea6b652b9
fix(nuxt3): don't double-escape extensions (#2953) 2022-01-27 17:02:25 +01:00
Daniel Roe d20b672546
fix(nuxt3): hotfix for missing components declaration (#2949) 2022-01-27 13:46:28 +01:00
Daniel Roe 965f2abaee
feat(nuxt3): middleware type generation improvements (#2945) 2022-01-27 12:13:32 +01:00
Daniel Roe 00e8a6e9d4
fix(nuxt3): add `app:suspense:resolve` hooks (#2937) 2022-01-26 18:24:54 +01:00
Daniel Roe 944464781d
feat(nuxt3): make layout and other page meta reactive (#2926) 2022-01-26 12:56:24 +01:00
pooya parsa 7a1cf622bc
fix(nuxt3): add built-in modules last (#2911) 2022-01-25 17:45:00 +01:00
Daniel Roe 4a5937764c
feat(nuxt3): add support for `<KeepAlive>` (#2904) 2022-01-25 15:32:09 +01:00
Daniel Roe dccc0c9c6f
feat(nuxt3): add middleware via route meta (#2858) 2022-01-25 13:29:11 +01:00
Daniel Roe 29fa0c991b
feat(nuxt3)!: support layout transitions (#2861)
* feat(nuxt3): support layout transitions

* docs: update
2022-01-24 18:10:42 +01:00
Daniel Roe 81ee59ce0c
fix(nuxt3): don't restrict nitro/nuxt3 runtime components (#2885) 2022-01-24 15:32:08 +01:00
Daniel Roe 03cc1913a3
fix(nuxi,nuxt3,bridge): generate all templates with `nuxi prepare` (#2409) 2022-01-24 14:28:47 +01:00
Daniel Roe 7553849371
feat(nuxt3): add import protection patterns (#2834) 2022-01-24 14:25:23 +01:00
renovate[bot] 0b0e56ae4f
chore(deps): update all non-major dependencies (#2818)
* chore(deps): update all non-major dependencies

* feat: add isShallow auto import

https://github.com/vuejs/core/commit/9fda941

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-01-24 13:38:03 +01:00
Daniel Roe 83a959a67b
fix(nuxt3): allow customising page keys (#2859) 2022-01-24 11:35:28 +01:00
Daniel Roe ae34f470a0
fix(nuxt3): explicitly declare type exports (#2850) 2022-01-21 12:42:41 +01:00
Daniel Roe d0d8e8311c
fix(nuxt3): normalize page paths ( for windows support) (#2825) 2022-01-21 10:54:11 +01:00
Daniel Roe cd42f62fb9
fix(nuxt3): export composable types (#2828) 2022-01-21 10:51:19 +01:00
Daniel Roe c1a68012ca
fix(nuxt3): add macro transform to non-sfcs (#2804) 2022-01-19 19:11:31 +01:00
Daniel Roe f219f635ad
feat(nuxt3): allow disabling vue type shims (#2773) 2022-01-19 19:10:38 +01:00
Daniel Roe 95d8205cc3
fix(nuxt3): only treeshake macro exports when building (#2809) 2022-01-19 19:07:54 +01:00
Daniel Roe d07d572263
feat: improve base url options (#2655) 2022-01-18 17:59:14 +01:00
Daniel Roe b38e394dfe
fix(nuxt3): import top-level files and subdirectory indices (#2774) 2022-01-18 17:43:41 +01:00
Daniel Roe 0af01668c1
feat(nuxt3): pass `nuxtApp` to `head()` (#2765) 2022-01-17 21:52:24 +01:00
Daniel Roe e9d73f572f
fix(nuxt3): ignore comments for testing cjs context (#2764) 2022-01-17 21:50:17 +01:00
Daniel Roe 93ef422b5d
feat(nuxt3): add support for `definePageMeta` macro (#2678) 2022-01-17 19:27:23 +01:00
renovate[bot] 4de167e246
chore(deps): update dependency globby to v12 (#2659) 2022-01-13 19:21:49 +01:00
Daniel Roe 7479eacaac
fix(nuxt3): handle legacy `asyncData` (options api) as `ref` (#2668) 2022-01-11 18:41:55 +01:00