daniel-farina / vuejs-dapp-boilerplate

VUEJS DAPP boilerplate featuring Ethers and Metamask
4 stars 1 forks source link

"export 'createStore' was not found in 'vuex' #1

Closed TheyGiveMeMoney closed 2 years ago

TheyGiveMeMoney commented 2 years ago

yarn install lead to "export 'createStore' was not found in 'vuex' when calling yarn serve for me at least

daniel-farina commented 2 years ago

yarn install lead to "export 'createStore' was not found in 'vuex' when calling yarn serve for me at least

I think maybe you have Vuex3 in your system. Install Vuex 4 and remove 3 if you already have it in your system

npm uninstall --save vuex
yarn add vuex@next

https://stackoverflow.com/questions/65150323/vue-js-3-export-createstore-was-not-found-in-vuex

Thanks, I added it to the README.

also make sure to pull the latest changes, I added some network configurations to make it easy to customize with custom networks.

TheyGiveMeMoney commented 2 years ago

Thanks for this, closing THUMBSUP!