when building a new project using vue cli3 scaffolding, it was found that the page could not be hot updated. After the
test, it is found that after using the default configuration, that is, vue create
, select default (babel, eslint)
, the project runs normally,
, but when you use custom configuration and add Router and CSS Pre-processors, you will not be able to hot update.
version information is as follows:
node v8.12.0/npm 6.4.1/vue cli 3.1.0
Editor is vscode
the installation process does not prompt any errors or warnings.
has tried to reinstall and update the node version, the vue cli version, and the vscode editor to no avail.
and then find a hint in the interface management of vue ui
.
Couldn"t parse bundle asset "E:\worker\waps\dist\app.0b958edd130893e99053.hot-update.js".
Analyzer will use module sizes from stats file.
but the ability is limited and you can"t find out where the error is.
add that previously created projects can still be hot updated. Only new and custom configuration projects are not allowed.