Daniel Roe
74ce29b329
docs: remove __dirname
and __filename
from example code ( #4381 )
...
* docs: remove `__dirname` and `__filename` from example code
* fix: add `fileURLToPath`
* Update packages/schema/src/config/server.ts
Co-authored-by: pooya parsa <pyapar@gmail.com>
* Update docs/content/2.guide/6.going-further/7.testing.md
Co-authored-by: pooya parsa <pyapar@gmail.com>
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-04-19 16:46:14 +02:00
Lo
7557e55002
docs: fix defineNuxtLink property name ( #4408 )
2022-04-19 09:29:53 +02:00
Damian
513978e15b
docs: fix and improve multiple sections ( #4396 )
2022-04-16 15:53:36 +02:00
Daniel Roe
ea14a5c1c1
feat(vite,webpack): build/dev typechecking ( #4379 )
2022-04-15 17:28:42 +02:00
Daniel Roe
e0b2a3bfe4
chore: use node:
prefix for built-in modules ( #4384 )
2022-04-15 17:19:05 +02:00
Adarsh Madrecha
4e1d38e5fe
docs: include pnpm package manager ( #4385 )
2022-04-15 17:07:16 +02:00
Sacha STAFYNIAK
54827eea2e
docs: add note about nuxt full restart feature ( #4168 )
...
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-04-15 10:10:05 +02:00
Damian
20e09d6203
docs: fix typo and unjs/nitro
link ( #4368 )
2022-04-14 23:56:16 +02:00
Oğuzhan
23a7db2a59
docs: broken @nuxt/bridge link fix ( #4357 )
2022-04-14 15:40:18 +02:00
webfansplz
54df62394b
docs: fix broken link ( #4359 )
2022-04-14 15:39:51 +02:00
webfansplz
497405fb5b
docs: fix broken link ( #4356 )
2022-04-14 15:38:47 +02:00
Clément Ollivier
f04704890d
docs(api): document lazy wrappers for data fetching ( #4333 )
2022-04-14 12:45:53 +02:00
Ada J
48d886c860
docs(api): document useError
, useLazyAsyncData
and useLazyFetch
( #4341 )
...
* docs: add documents for use-error,use-lazy-async-data and use-lazy-fetch
* docs(API): document useError,useLazyAsyncData and useLazyFetch
Co-authored-by: xiaojie.jiang <xiaojie.jiang@dhc.com.cn>
2022-04-14 10:53:58 +02:00
Lo
d5e624ffc1
docs: fix clearError type and server route prefix ( #4342 )
2022-04-14 10:51:39 +02:00
pooya parsa
c36c4b0e2f
docs: update release schedule ( #4337 )
2022-04-13 20:52:41 +02:00
Daniel Roe
ee93659147
feat(nuxt3): allow providing a ref as default value ( #4326 )
2022-04-13 19:41:41 +02:00
Clément Ollivier
25ced97f16
docs: add server-routes example ( #4301 )
2022-04-13 19:25:45 +02:00
Clément Ollivier
a89d2f9c1a
docs(api): apply use-async-data page structure to use-fetch ( #4332 )
2022-04-13 19:14:03 +02:00
Mario Neuhold
41b5cfc0ae
docs: update url to new unjs/nitro repo ( #4324 )
2022-04-13 13:44:03 +02:00
pooya parsa
d2b4e60963
docs: update runtime-config section ( #4285 )
...
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
2022-04-12 12:04:15 +02:00
Victor Saa
85f2f83cf2
feat: route alias support ( #4273 )
2022-04-12 11:09:45 +02:00
Clément Ollivier
42a0ef56dd
docs: complete features/modules section ( #4284 )
...
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-04-12 11:09:10 +02:00
Ada J
2dadd4f0b3
docs: fix a typo and link ( #4281 )
2022-04-12 10:13:02 +02:00
Manash Sonowal
d8ee524141
docs: update runtimeConfig section ( #4279 )
2022-04-12 10:12:33 +02:00
Conner
9fc848567e
docs: improve documentation ( #4148 )
...
Co-authored-by: pooya parsa <pyapar@gmail.com>
Co-authored-by: Clément Ollivier <clement.o2p@gmail.com>
Co-authored-by: Anjorin Damilare <damilareanjorin1@gmail.com>
2022-04-11 23:00:43 +02:00
Clément Ollivier
e6471689d6
docs(api): add ts signature and js example to use-async-data ( #4171 )
...
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
Co-authored-by: Anjorin Damilare <damilareanjorin1@gmail.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-04-11 19:24:18 +02:00
Matteo Rigoni
d6210606bf
docs: improve single root element note about comments ( #4245 )
...
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-04-11 17:59:13 +02:00
Sébastien Chopin
9378f8ffab
docs: fix broken link ( #4262 )
...
Since Docus does not handle redirection (but will Nuxt Content v2)
2022-04-11 17:52:38 +02:00
Jie
b142666561
docs: fix link to guide/concepts/rendering
( #4247 )
2022-04-11 11:36:41 +02:00
Daniel Roe
1091d456a8
feat(nuxt, bridge): support titleTemplate
, viewport
and charset
for useHead
( #4221 )
2022-04-11 11:03:31 +02:00
Dizzy Rogers
529712d498
docs: add server routes documentation ( #4174 )
...
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-04-09 13:36:51 +02:00
Clément Ollivier
c98bea7d3c
docs: add links to examples ( #4204 )
2022-04-09 11:25:13 +02:00
Clément Ollivier
0bd801cfd8
docs(concepts): clarify sentences ( #4201 )
2022-04-08 15:09:00 +02:00
Daniel Roe
0e4def19f8
docs: update deployment urls & azure instructions ( #4193 )
...
* docs: update deployment urls & azure instructions
* style: lint
2022-04-08 14:59:35 +02:00
Sébastien Chopin
500e90d867
docs: modules section improvements ( #4185 )
...
* docs: modules section improvements
* lint fix
2022-04-08 01:11:40 +02:00
Sébastien Chopin
55091b8fdf
docs: add missing config variable in example (server api) ( #4184 )
2022-04-07 23:16:42 +02:00
Clément Ollivier
c7ff6d1740
chores(docs): prevent link rendering by Docus ( #4166 )
...
Use back ticks to prevent Docus from rendering a link to Github based on `@` character
2022-04-07 16:02:54 +02:00
Manash Sonowal
6f8e7a8ac7
docs: update runtime config migration ( #4165 )
2022-04-07 15:47:15 +02:00
Clément Ollivier
f69a67472a
docs(api): add abortNavigation
docs ( #4164 )
2022-04-07 15:46:30 +02:00
Clément Ollivier
6205fbe316
docs(api): specify nuxt-error-boundary events and slots ( #4159 )
2022-04-07 15:26:36 +02:00
Dan Pastori
02f16bf23e
docs: add programmatic navigation ( #4074 )
...
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-04-07 13:46:47 +02:00
Dan Pastori
75cbfbcb7e
docs(migration): add programmatic navigation example to pages and layouts ( #4072 )
...
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-04-07 13:41:49 +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
114ec8982d
docs: add note that layout root cannot be <slot />
( #4151 )
2022-04-07 12:59:40 +02:00
Daniel Roe
7e0b30f66e
docs: remove yarn dlx
instruction ( #4153 )
2022-04-07 12:59:26 +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
Sébastien Chopin
fe8e325541
docs(guide): fix links to error utils ( #4129 )
2022-04-06 15:55:36 +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
Moeen M
fa9dcfe64c
docs: fix spelling for steps ( #4103 )
2022-04-05 19:23:37 +02:00
Clément Ollivier
07b5db5fa7
docs(community): add documentation contribution guide ( #3923 )
...
Co-authored-by: Daniel Roe <daniel@roe.dev>
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-04-05 16:57:43 +02:00
Daniel Roe
e90b8c28d1
refactor(nuxt3,bridge)!: rename useMeta
to useHead
( #4066 )
2022-04-05 16:02:29 +02:00
Conner
7054b9849f
docs: document nuxi analyze
command ( #4068 )
2022-04-05 15:56:41 +02:00
Bill Gale
0c9d83412c
docs: update useBody
comment to reflect usable methods ( #4083 )
2022-04-05 15:56:16 +02:00
Sébastien Chopin
be4a2dea16
docs: update Nuxt Content v2 expected date ( #4093 )
2022-04-05 15:40:14 +02:00
Anthony Fu
6577602894
chore(docs): setup case-police
guard ( #4065 )
...
* chore: setup `case-police` guard
* chore: fix cases
* chore: upgrade deps
2022-04-04 12:56:10 +02:00
Clément Ollivier
a1cbbb71a8
docs(examples): fix url in error handling example ( #4064 )
2022-04-04 11:59:37 +02:00
Dan Pastori
d5b7b5882c
docs: update data fetching for $fetch
and refresh ( #3914 )
2022-04-04 10:10:10 +02:00
Vasily Kuzin
7dfe800a52
docs: fix small typo ( #4043 )
2022-04-04 08:51:58 +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
Daniel Roe
59b319b492
docs: add router.extendRoutes
example to migration docs ( #4023 )
...
* docs: add `router.extendRoutes` example to migration docs
* style: lint
2022-04-01 15:21:06 +02:00
Daniel Roe
02d2d1ae35
feat(nuxi): load .env
when previewing builds ( #4016 )
2022-04-01 12:28:39 +02:00
tramplay
b32a2561ee
docs: fix broken link ( #4002 )
2022-03-31 19:03:09 +02:00
Anthony Fu
e1b6e4d6fe
docs: fix cases for terms ( #3992 )
...
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-03-31 21:45:43 +08: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
pooya parsa
58386198c9
docs: update roadmap ( #3990 )
2022-03-31 12:22:23 +02:00
Daniel Roe
cb55efcd98
docs: tiny typo ( #3975 )
2022-03-30 21:48:53 +02:00
Daniel Roe
df188d7734
fix(nuxi): respect NUXT_PORT
and NUXT_HOST
vars in dev mode ( #3973 )
2022-03-30 21:07:26 +02:00
Daniel Roe
1a39eff502
docs: update migration guide for nuxt 3 ( #3819 )
...
Co-authored-by: Dan Pastori <dan@521dimensions.com>
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-03-30 19:32:30 +02:00
Anthony Fu
96ad9cfe97
docs: init testing section ( #3930 )
2022-03-30 18:00:08 +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
pooya parsa
7e6c4e2d5b
fix(schema): fix RouterConfig types ( #3964 )
2022-03-30 10:17:46 +02:00
Sébastien Chopin
d3a1ed9839
docs(cli): fix typo (exsits -> exists) ( #3954 )
2022-03-29 15:14:11 +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
Jakub Andrzejewski
19842ce471
feat(nuxi): scaffold files with nuxi add
( #3841 )
...
Co-authored-by: pooya parsa <pyapar@gmail.com>
Co-authored-by: Clément Ollivier <clement.o2p@gmail.com>
2022-03-25 15:56:36 +01:00
Daniel Roe
773dd59a2c
fix(bridge): don't double-install plugins when using compat vueApp.use
( #3898 )
2022-03-25 12:53:56 +01:00
Alex Liu
993bc7c8a1
doc: fix useAsyncData documentation error ( #3879 )
2022-03-24 13:13:41 +01:00
L.Rain
e19c638b3f
docs: update hooks ( #3875 )
2022-03-24 12:03:18 +01:00
Árpád Illyés
cc543e9ac1
docs: use path
in example ( #3856 )
2022-03-23 11:38:36 +01:00
yyyanghj
8bb02be218
docs: fix typo ( #3842 )
2022-03-22 19:20:22 +01:00
Daniel Roe
29078bba74
feat(nuxt3): support lazy and custom-resolved components ( #3814 )
2022-03-22 18:04:31 +01:00
Daniel Roe
acd22db576
docs: deprecate buildModules
in schema ( #3830 )
2022-03-22 12:33:30 +01:00
Daniel Roe
190fc67358
docs: add links to vue api for transitions + keepalive props ( #3812 )
2022-03-21 12:14:12 +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
3f91d83a79
feat(schema): expose RouterOptions
and RouterConfigOptions
( #3713 )
2022-03-16 19:13:05 +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
Daniel Roe
6d2625925f
docs: use partial RouterOptions
interface ( #3711 )
2022-03-16 16:18:27 +01:00
Daniel Roe
bc3db2ccdd
docs: lint vercel code block
2022-03-16 11:43:36 +00:00
Daniel Roe
4b575bb98c
docs: add ending frame for bash script in vercel instructions
2022-03-16 11:27:27 +00:00
Clément Ollivier
831ed1c994
docs: improve sentences writing ( #3702 )
2022-03-16 12:16:05 +01:00
Raja
f38cacec0f
feat(nuxt 3): support custom router options ( #3485 )
...
Co-authored-by: Raja Munisamy <raja.munisamy@carbar.com.au>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-03-15 17:57:41 +01:00
Sébastien Chopin
58a46f2270
docs(routing): improvements ( #3664 )
2022-03-15 10:59:27 +01:00
Sébastien Chopin
3ded2e35ad
docs(concepts): small improvement regarding auto import on server ( #3653 )
...
* docs: small improvement regarding auto import on server
* Update 4.auto-imports.md
2022-03-14 17:01:20 +01:00
Nestor Vera
189c2fcf58
docs: fix missing line break ( #3655 )
2022-03-14 16:21:26 +01:00
Daniel Roe
2260f43aa4
style: lint docs
2022-03-14 14:00:27 +00:00
Daniel Roe
870f7c69f5
docs: add vue 3 ssr starter ( #3647 )
...
* docs: add vue 3 ssr starter
* Update docs/content/4.community/2.reporting-bugs.md
* Update 2.reporting-bugs.md
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-03-14 14:39:13 +01:00
Iljs Путлер Капут
98de06fe6b
docs: fix url ( #3651 )
2022-03-14 14:37:02 +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
7bf338da8c
feat(nuxt3)!: enable using <NuxtLayout>
without pages integration ( #3610 )
2022-03-14 11:47:24 +01:00
Patrik
1d8e431f24
docs(cloudflare): update build command ( #3604 )
2022-03-11 12:53:19 +01:00