Vue.js 3 - "export 'createStore' was not found in 'vuex'
You've installed the Vuex version 3.x by running npm install --save vuex
you should uninstall it npm uninstall --save vuex
then install the version 4 which is compatible with vue 3 by running the following command :
npm install --save vuex@next
For people using Yarn below is the command
yarn add vuex@next