How to Fix Nuxt.js 'Enable vuex store by creating store/index.js.' Error
I’ll introduce how to fix the Enable vuex store by creating store/index.js. error in Nuxt.js.
<img src=“https://res.cloudinary.com/codenote-net/images/w_auto:100:582,f_auto,q_auto/v1562591707/Nuxt.js/Nuxt-js-png?_i=AA” class=“alignnone title=“Nuxt.js” alt=“Nuxt.js”>
When running npm run dev, the following error occurred:
Nuxt Fatal Error
Enable vuex store by creating store/index.js.
You can resolve the Enable vuex store by creating store/index.js. error simply by creating store/index.js.
touch store/index.js
touch store/index.ts
That’s all from the Gemba on resolving the Nuxt.js Enable vuex store by creating store/index.js. error.