Skip to content
Snippets Groups Projects
Commit d13aec01 authored by fibasile's avatar fibasile
Browse files

add vuexfire mutations

parent e51d0e4d
No related branches found
No related tags found
No related merge requests found
......@@ -23,7 +23,8 @@
"@quasar/extras": "^1.3.2",
"axios": "^0.19.0",
"firebase": "^6.2.0",
"quasar": "^1.1.7"
"quasar": "^1.1.7",
"vuexfire": "^3.2.0"
},
"devDependencies": {
"@quasar/app": "^1.1.4",
......
......@@ -2,6 +2,7 @@ import Vue from "vue";
import Vuex from "vuex";
// import example from './module-example'
import { vuexfireMutations } from "vuexfire";
Vue.use(Vuex);
......@@ -26,6 +27,9 @@ export default function(/* { ssrContext } */) {
collections,
ui
},
mutations: {
...vuexfireMutations
},
// enable strict mode (adds overhead!)
// for dev mode only
......
......@@ -1248,6 +1248,11 @@
resolved "https://registry.yarnpkg.com/@positron/stack-trace/-/stack-trace-1.0.0.tgz#14fcc712a530038ef9be1ce6952315a839f466a8"
integrity sha1-FPzHEqUwA475vhzmlSMVqDn0Zqg=
"@posva/vuefire-core@^2.2.0":
version "2.2.0"
resolved "https://registry.yarnpkg.com/@posva/vuefire-core/-/vuefire-core-2.2.0.tgz#0b934e9f85822529d44b8dfd5061ef53c4b2d80f"
integrity sha512-A5fPZCL8P+0DcS5qEY3liaLzOCdDPpdGoW050VzxNueJZDHi1eLfzAEFi5ctxH5wx7r4erwX4MGekX3K5t2b9A==
"@protobufjs/aspromise@^1.1.1", "@protobufjs/aspromise@^1.1.2":
version "1.1.2"
resolved "https://registry.yarnpkg.com/@protobufjs/aspromise/-/aspromise-1.1.2.tgz#9b8b0cc663d669a7d8f6f5d0893a14d348f30fbf"
......@@ -10965,6 +10970,13 @@ vuex@3.1.1:
resolved "https://registry.yarnpkg.com/vuex/-/vuex-3.1.1.tgz#0c264bfe30cdbccf96ab9db3177d211828a5910e"
integrity sha512-ER5moSbLZuNSMBFnEBVGhQ1uCBNJslH9W/Dw2W7GZN23UQA69uapP5GTT9Vm8Trc0PzBSVt6LzF3hGjmv41xcg==
vuexfire@^3.2.0:
version "3.2.0"
resolved "https://registry.yarnpkg.com/vuexfire/-/vuexfire-3.2.0.tgz#a168cf4c132e15ab5db9abcdf577011f1408a66e"
integrity sha512-eLrQFazM5nGtaFla37dTJrHNbdrr35dwImepM+uquh5YVJuYpRYkcoJO1mDi+adqYh0RJUReNVlb5SOX/VDB4w==
dependencies:
"@posva/vuefire-core" "^2.2.0"
w3c-hr-time@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/w3c-hr-time/-/w3c-hr-time-1.0.1.tgz#82ac2bff63d950ea9e3189a58a65625fedf19045"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment