pinia-the-enjoyable-vue-store
pinia-the-enjoyable-vue-store copied to clipboard
Uncaught TypeError: can't access property "modules", ssrContext is undefined
after cloning and installing it, when running dev I got that error
Checking source code in browser, the offending part is here
import { useSSRContext as __vite_useSSRContext } from '/node_modules/.vite/deps/vue.js?v=e3a13ef1'
const _sfc_setup = _sfc_main.setup
_sfc_main.setup = (props, ctx) => {
const ssrContext = __vite_useSSRContext()
;(ssrContext.modules || (ssrContext.modules = new Set())).add("src/App.vue")
return _sfc_setup ? _sfc_setup(props, ctx) : undefined
}