# Quasar App

> WIP

store to access data.

https://quasar-framework.org/guide/app-vuex-store.html

<template>
  <div>
    <q-toggle v-model="drawerState" />
  </div>
</template>

<script>
export default {
  computed: {
    drawerState: {
      get () {
        return this.$store.state.showcase.drawerState
      },
      set (val) {
        this.$store.commit('showcase/updateDrawerState', val)
      }
    }
  }
}

## example ....

a suivre !!!!=>

https://appdividend.com/2018/05/08/vuex-axios-get-request-tutorial-with-example/

example 2
https://github.com/vuejs/vuex/blob/dev/examples/shopping-cart/components/ProductList.vue

https://ypereirareis.github.io/blog/2017/04/25/vuejs-two-way-data-binding-state-management-vuex-strict-mode/

# example a suivre

https://github.com/vuejs/vuex/tree/dev/examples/shopping-cart/components