This relative module was not found: * ./store in ./src/main.js

Sometimes vue3 downloading vuex
will not generate a store file, so you need to write it yourself

import { createStore } from 'vuex'

export default createStore({
  state: {
  },
  mutations: {
  },
  actions: {
  },
  modules: {
  }
})

Read More: