update readme
This commit is contained in:
@@ -1,3 +1,30 @@
|
|||||||
# Quasar App
|
# Quasar App
|
||||||
|
|
||||||
> WIP
|
> 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/
|
||||||
Reference in New Issue
Block a user