Function storeToRefs

  • Creates an object of references with all the state, getters, and plugin-added state properties of the store. Similar to toRefs() but specifically designed for Pinia stores so methods and non reactive properties are completely ignored.

    Type Parameters

    Parameters

    • store: SS

      store to extract the refs from

    Returns StoreToRefs<SS>

Generated using TypeDoc