vuejs/vue-hot-reload-api

I have a problem whith vue-hot-reload-api

wuxiangwa opened this issue · 3 comments

when i npm update and npm run dev

image

i have err
image

image

i print vue.__esMoudule and it is undefined and next vue.version is undefined.
how can i do?

jmxx commented

Hi!

I have the same problem, Vue variable is undefined.

selection_070

My vue-loader version is 11.3.3 and vue-hot-reload-api version is 2.0.11.

How can I solve this?

Thanks.

the same problem,
install was called with arguments of vue is typeof css-loader, not vue instance,

For me, adding

IS_PRODUCTION ?
	new webpack.HashedModuleIdsPlugin() :
	new webpack.NamedModulesPlugin(),

to the plugin section in webpack.config.js seems to fix the problem