Skip to content

Instantly share code, notes, and snippets.

@tjunussov
Last active December 3, 2021 19:57
Show Gist options
  • Save tjunussov/9b584be22128caab4e9339cf3575bcfd to your computer and use it in GitHub Desktop.
Save tjunussov/9b584be22128caab4e9339cf3575bcfd to your computer and use it in GitHub Desktop.
# 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