Change vuex version to 3.0.0

This commit is contained in:
Muhsin Keloth 2022-08-19 11:34:25 +05:30
parent 87d73824d4
commit 5435c212b4
3 changed files with 17 additions and 16 deletions

View file

@ -91,15 +91,23 @@ window.axios = createAxios(axios);
window.bus = new Vue();
initializeChatwootEvents();
initializeAnalyticsEvents();
initalizeRouter();
// initalizeRouter();
// window.onload = () => {
// window.WOOT = new Vue({
// router,
// store,
// i18n: i18nConfig,
// components: { App },
// template: '<App/>',
// }).$mount('#app');
// };
window.onload = () => {
window.WOOT = new Vue({
router,
store,
i18n: i18nConfig,
components: { App },
template: '<App/>',
store,
render: h => h(App),
}).$mount('#app');
};

View file

@ -70,7 +70,7 @@
"vue2-datepicker": "^3.9.1",
"vuedraggable": "^2.24.3",
"vuelidate": "0.7.7",
"vuex": "^4.0.2",
"vuex": "^3.0.0",
"vuex-router-sync": "~4.1.2",
"wavesurfer.js": "^6.0.4"
},

View file

@ -3315,11 +3315,6 @@
optionalDependencies:
prettier "^1.18.2"
"@vue/devtools-api@^6.0.0-beta.11":
version "6.2.1"
resolved "https://registry.npmjs.org/@vue/devtools-api/-/devtools-api-6.2.1.tgz#6f2948ff002ec46df01420dfeff91de16c5b4092"
integrity sha512-OEgAMeQXvCoJ+1x8WyQuVZzFo0wcyCmUR3baRVLmKBo1LmYZWMlRiXlux5jd0fqVJu6PfDbOrZItVqUEzLobeQ==
"@vue/reactivity-transform@3.2.37":
version "3.2.37"
resolved "https://registry.yarnpkg.com/@vue/reactivity-transform/-/reactivity-transform-3.2.37.tgz#0caa47c4344df4ae59f5a05dde2a8758829f8eca"
@ -15865,12 +15860,10 @@ vuex-router-sync@~4.1.2:
resolved "https://registry.yarnpkg.com/vuex-router-sync/-/vuex-router-sync-4.1.3.tgz#f209ec3174de04179bfadd7994437e4c5a81c975"
integrity sha1-8gnsMXTeBBeb+t15lEN+TFqByXU=
vuex@^4.0.2:
version "4.0.2"
resolved "https://registry.npmjs.org/vuex/-/vuex-4.0.2.tgz#f896dbd5bf2a0e963f00c67e9b610de749ccacc9"
integrity sha512-M6r8uxELjZIK8kTKDGgZTYX/ahzblnzC4isU1tpmEuOIIKmV+TRdc+H4s8ds2NuZ7wpUTdGRzJRtoj+lI+pc0Q==
dependencies:
"@vue/devtools-api" "^6.0.0-beta.11"
vuex@^3.0.0:
version "3.6.2"
resolved "https://registry.npmjs.org/vuex/-/vuex-3.6.2.tgz#236bc086a870c3ae79946f107f16de59d5895e71"
integrity sha512-ETW44IqCgBpVomy520DT5jf8n0zoCac+sxWnn+hMe/CzaSejb/eVw2YToiXYX+Ex/AuHHia28vWTq4goAexFbw==
w3c-hr-time@^1.0.2:
version "1.0.2"