Commit Graph

73 Commits

Author SHA1 Message Date
Clément Ollivier ff2cb53476
docs(examples): replace nlink by nuxtlink (#3772) 2022-03-18 11:59:02 +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
pooya parsa a50b8ca712
feat(test-utils): test in development mode (#3753) 2022-03-17 22:31:06 +01:00
pooya parsa fb150825ce
feat(nuxt3): `useFetch` with dynamic reactive request (#3731) 2022-03-17 11:47:41 +01:00
pooya parsa 7c0b9140c7
feat(nuxt3): `watch` option for `useAsyncData` to auto refresh (#3722) 2022-03-16 23:49:30 +01:00
pooya parsa b03cdb7114
feat!(nuxt3): use individual config layers for extending (#3717) 2022-03-16 21:36:30 +01:00
Daniel Roe 12304909bc
feat(nuxt3): add `<NuxtErrorBoundary>` component for fine-grained error handling (#3671)
* feat(nuxt3): add `<NuxtErrorBoundary>` component for fine-grained error handling

* feat: add `@error` event handling

* fix: don't clear error on nav

* fix: remove `clearError` wrapper

* fix: remove outdated implementation

* update clear error

* upddate example with FaultyComponent

Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-03-16 16:49:53 +01:00
pooya parsa 131cf69a56
chore: avoid workspace resolution for `@nuxt/test-utils` (#3710) 2022-03-16 14:56:54 +01:00
Anthony Fu 452a7730e0
feat(nuxi): init `nuxi test` support (#3307)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-03-16 13:34:27 +01:00
Pooya Parsa 970a4d36d5 fix(nuxt-link): handle state without href and to 2022-03-16 11:10:32 +01:00
Kevin Marrec 227ceedebb
feat(nuxt3): extends support for `server/` directory (#3673) 2022-03-15 17:15:19 +01:00
Lucie 4cefce44a3
feat(nuxt3): add `<NuxtLink>` component (#3544)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-03-14 14:36:32 +01:00
Daniel Roe 5d58ef48af
feat(nitro, nuxt3): allow handling otherwise unhandled runtime errors (#3464)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-03-11 09:22:16 +01:00
Kevin Marrec 6c083f3d12
feat!(nuxt3): extends support for composables/ directory (#3423)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-03-09 12:03:36 +01:00
Kevin Marrec 13dd2b98ea
feat(nuxt3): extends support for `plugins/ ` directory (#3462) 2022-03-09 11:51:32 +01:00
Sébastien Chopin 34f1c510b2
docs(example): fix typo on with-universal-router (#3363) 2022-02-22 21:40:20 +00:00
Sébastien Chopin c68215e3fb
docs(examples): Add playground for `with-universal-router` (#3358) 2022-02-22 16:25:47 +00:00
Daniel Roe dbab979a2e
feat(nuxt3): add universal routing utilities (#3274) 2022-02-21 14:03:42 +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 b3e9cf6fd6
fix(nuxt3)!: key routes by interpolated path (#2976) 2022-02-07 12:32:04 +01:00
pooya parsa 1672148a87
feat(kit): support config `extends` using `unjs/c12` (#3008) 2022-01-31 22:13:58 +01:00
Daniel Roe dccc0c9c6f
feat(nuxt3): add middleware via route meta (#2858) 2022-01-25 13:29:11 +01:00
Sylvain Marroufin 03d33dfdef
chore(examples): add `plugins` example (#2855)
* chore(examples): add `plugins` example

* Update examples/with-plugins/plugins/my-plugin.ts

Co-authored-by: Daniel Roe <daniel@roe.dev>

* chore(examples): remove unused variable

* fix: updates post-review

* Update examples/with-plugins/plugins/my-plugin.ts

Co-authored-by: Daniel Roe <daniel@roe.dev>
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-01-24 12:33:38 +01:00
Daniel Roe 83a959a67b
fix(nuxt3): allow customising page keys (#2859) 2022-01-24 11:35:28 +01:00
Daniel Roe 93ef422b5d
feat(nuxt3): add support for `definePageMeta` macro (#2678) 2022-01-17 19:27:23 +01:00
Bruno Perel 2ba5f56374
docs(examples): prop "showTips" should be a boolean instead of a string (#2751) 2022-01-17 11:05:24 +01:00
Anthony Fu 59e5cfea39
docs: add Stackblitz links for examples (#2559) 2022-01-07 10:51:01 +01:00
Anthony Fu afcaaff57d
chore(example): use `@nuxt/ui` for examples (#2325)
Co-authored-by: Daniel Roe <daniel@roe.dev>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-12-23 20:27:08 +01:00
Daniel Roe 639e49be27
refactor(nuxt3): rename `<NuxtChild>` to `<NuxtNestedPage>` (#2432) 2021-12-20 11:37:58 +01:00
Anthony Fu 29a2eb3dc1
fix(vite): include dynamic css (revert #2067) (#2227) 2021-11-30 15:37:01 +01:00
Damian 5bc9012eff
docs: improve cookies section (#2092) 2021-11-23 00:24:12 +01:00
Pooya Parsa 0db1002a3b chore: update cookie example 2021-11-22 23:50:17 +01:00
pooya parsa 9920181df3
feat(nuxt3, bridge): `useCookie` universal composable (#2085) 2021-11-22 21:43:00 +01:00
Anthony Fu a149225e63
fix(vite): separate dynamic deps in dev-bundler (#2067) 2021-11-22 18:39:56 +01:00
pooya parsa 07c7a20462
examples: update `with-wasm` (#2060) 2021-11-21 16:58:47 +01:00
surfer77 d4d886e52b
doc(examples): fix typo (#2042) 2021-11-21 13:30:32 +01:00
pooya parsa 6d94158e95
docs: improve `useState` examples (#1969)
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
2021-11-16 16:37:36 +01:00
Sébastien Chopin bf0933a2f0
docs: improve useState docs and add example (#1961)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2021-11-16 14:17:52 +01:00
pooya parsa 1c8b751cfa
docs: improve `useState` with shared composable (#1945) 2021-11-15 21:41:05 +01:00
fgiraud 6b873f15bc
chore(nuxt3): add tests, comments and example for components scan (#1455)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-11-15 17:22:46 +01:00
Daniel Roe abfbd2f34e
feat: add `<Html>` meta component (#1820)
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-11-10 21:25:29 +01:00
Daniel Roe 95cbe67f99
feat(kit, nuxt3): add `pages:extend` and `extendPages` (#1740)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
Co-authored-by: fgiraud <hello@florent.dev>
2021-11-09 11:16:23 +01:00
Anthony Fu 495aeffd74
docs: use `nuxi` everywhere (#1577) 2021-10-29 12:38:22 +02:00
Levi (Nguyễn Lương Huy) 694e95b2b4
feat(nuxt3): support `NuxtChild` component (#1301) (#1312) 2021-10-21 21:16:52 +02:00
TenshiGoan c5920c21e7
fix(nuxt3): child routes in vue-router don't have component field (#998)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2021-10-20 20:49:15 +02:00
Anthony Fu 550a9f2e12
feat: auto-import for composables (#1176)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-10-20 11:47:18 +02:00
Xin Du (Clark) 31b12d04c0
feat(cli): generate tsconfig.json in prepare command (#822)
Co-authored-by: Daniel Roe <daniel@roe.dev>
Co-authored-by: pooya parsa <pyapar@gmail.com>
2021-10-13 22:01:50 +02:00
pooya parsa 9cb9bb651e
feat(nuxt3): create root component (#750) 2021-10-12 14:51:41 +02:00
pooya parsa 54c57e3987
feat(nuxt3): `useFetch` (#721) 2021-10-12 00:36:50 +02:00
pooya parsa 666b7f1ba8
feat: `useState` composable (#719) 2021-10-11 19:48:03 +02:00