piniaOptions
Usage
class User extends Model { static entity = 'users' static fields () { return { userId: this.attr(null) } } static piniaOptions = { persist: true }}
Typescript Declarations
const piniaOptions: DefineStoreOptionsBase<DataStoreState, DataStore> = {}
Table of Contents