update readme

This commit is contained in:
2018-06-19 23:00:07 +02:00
parent 6786d7a4f7
commit 42df8bb2b2

View File

@@ -1,3 +1,30 @@
# 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 ....
https://appdividend.com/2018/05/08/vuex-axios-get-request-tutorial-with-example/