Last active
December 3, 2021 19:57
-
-
Save tjunussov/9b584be22128caab4e9339cf3575bcfd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# a | |
- vuex-persist save vuex state of modules in localStorage/cookie/indexdb ( https://github.com/championswimmer/vuex-persist ) | |
- axios-mock-adapter | |
- https://github.com/maoberlehner/vuex-map-fields | |
- https://davestewart.github.io/vuex-pathify | |
- https://github.com/davestewart/axios-actions | |
- https://www.vue-tailwind.com/ | |
# Quasar Plugins | |
- login | |
- | |
trello apps | |
- https://github.com/davestewart/app-diary | |
#mock enable disable | |
export default boot(({ app, store }) => { | |
// Save a reference to the mock adapter so that we can later reuse it | |
var mockAdapter = $http.defaults.adapter; | |
store.watch(() => store.state.mock,(v)=>{ | |
if(v) { | |
console.debug('--> demoMode mock enabled',v); | |
$http.defaults.adapter = mockAdapter; | |
} else { | |
console.debug('--> demoMode mock disabled',v); | |
$mock.restore() | |
} | |
},{ immediate: true }) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment