vue2脚手架使用vuex报错 WARNING Compiled with 3 warnings 下午7:21:02 warning in ./node_modules/vuex/dist/vuex.esm-browser.js ERROR Failed to compile with 1 error 下午7:21:32 This dependency was not found: * Vuex in ./src/store/index.js 解决方案 npm install vuex@3.0.0