Skip to content

Complete guide to

Mastering Pinia

written by its creator

该翻译已同步到了 的版本,其对应的 commit hash 是 c67a5c9

API 文档 / pinia / PiniaCustomStateProperties

接口:PiniaCustomStateProperties<S>

pinia.PiniaCustomStateProperties

通过 pinia.use() 添加到每个 store.$state 的属性。

类型参数

名称类型
Sextends StateTree = StateTree

Released under the MIT License.