store

{ store : {} | true }

This is an option to set up a fake vuex-style store for the component. This is simply a convenience wrapper that uses the vuenit.store() function and adds it into the above inject option.

{
  store : {
    items : [
      { id : 1 }
    ]
  }
}

...is the equivalent of...

{
  inject : {
    $store : vuenit.store({
      items : [
        { id : 1 }
      ]
    })
  }
}

results matching ""

    No results matching ""