Commit Graph

93 Commits

Author SHA1 Message Date
Qin Guan
2156079405
docs(examples): rename hello.ts to [...hello].ts (#5261)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-06-22 19:25:27 +02:00
Daniel Roe
f1f9c2ae59
docs: remove semicolon (#5074) 2022-05-20 11:25:38 +02:00
HG
173fbfd06e
docs: demonstrate the multiple useState with same key (#5059)
* Better demonstrate the UseState concept

Add another counter instance with the same id and show that they change in parallel

* Apply suggestions from code review

Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-05-20 11:12:35 +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
pooya parsa
0b8eeaf40f
build: update nuxt ui to ^0.1.0 (#4420) 2022-04-19 10:06:21 +02:00
Daniel Roe
e0b2a3bfe4
chore: use node: prefix for built-in modules (#4384) 2022-04-15 17:19:05 +02:00
Clément Ollivier
25ced97f16
docs: add server-routes example (#4301) 2022-04-13 19:25:45 +02:00
Anthony Fu
e31c604ac4
feat(vite-node): on-demand manifest generation (#3968)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-04-12 12:04:55 +02:00
Daniel Roe
1091d456a8
feat(nuxt, bridge): support titleTemplate, viewport and charset for useHead (#4221) 2022-04-11 11:03:31 +02:00
Sébastien Chopin
8284e7fa21 docs: update link to examples 2022-04-06 17:36:43 +02:00
Clément Ollivier
9a0fc57724
docs: update sitemap (#4063)
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-04-06 07:56:08 +02:00
Daniel Roe
e90b8c28d1
refactor(nuxt3,bridge)!: rename useMeta to useHead (#4066) 2022-04-05 16:02:29 +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
Clément Ollivier
169aa35ef7
fix(examples): add sub-folder to github examples path (#3996) 2022-03-31 15:31:04 +02:00
Clément Ollivier
1a7b570c82
docs(examples): add examples to docs (#3966)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-03-30 17:59:28 +02:00
Clément Ollivier
9181734912
docs(examples): fix minor errors (#3965) 2022-03-30 10:34:05 +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
Clément Ollivier
797da68979
docs(examples): normalize examples using tips (#3852) 2022-03-23 09:44:36 +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
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