From: Idorenyin Udoh Date: Sun, 7 Jan 2024 18:59:24 +0000 (+0100) Subject: docs: fix minor typo in nuxt.md (#2548) X-Git-Tag: @pinia/nuxt@0.5.2-beta.0~63 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a1a5d49e2c0a084d8ee172b1d452db3c57395039;p=thirdparty%2Fvuejs%2Fpinia.git docs: fix minor typo in nuxt.md (#2548) --- diff --git a/packages/docs/ssr/nuxt.md b/packages/docs/ssr/nuxt.md index a581887b..8ff6e225 100644 --- a/packages/docs/ssr/nuxt.md +++ b/packages/docs/ssr/nuxt.md @@ -38,7 +38,7 @@ And that's it, use your store as usual! ## Awaiting for actions in pages -As with `onServerPrefetch()`, you can call a store action within `asyncData()`. Given how `useASyncData()` works, **make sure to return a value**. This will allow Nuxt to skip running the action on the client side and reuse the value from the server. +As with `onServerPrefetch()`, you can call a store action within `asyncData()`. Given how `useAsyncData()` works, **make sure to return a value**. This will allow Nuxt to skip running the action on the client side and reuse the value from the server. ```vue{3-4}