Skip to content

Function: useSiteStore()

useSiteStore(pinia?, hot?): Store<"site", Pick<object, never>, Pick<object, "postList">, Pick<object, never>>

cache site global store

  • post
  • tag
  • category

Parameters

pinia?: null | Pinia

Pinia instance to retrieve the store

hot?: StoreGeneric

dev only hot module replacement

Returns

Store<"site", Pick<object, never>, Pick<object, "postList">, Pick<object, never>>

Defined in

packages/valaxy/client/stores/site.ts:13