The small demo written by vue is normal in Chrome, reported an error in Microsoft Edge, and has been packed with webpack, how to debug.

The

directory is like this
clipboard.png

:360okEdgeVueEdgees5webpackdebug

:
clipboard.png

Edge:
clipboard.png

The

problem has been solved. For convenience, I clicked on the index.html file directly, and the error report is the same as the problem. As with the previous answer, the problem is that localStorage, is not in the syntax of es6 (which has been dealt with before). Locally opened html files do not support localStorage, in edge browsers. You can open the console to enter localStorage verification and you will find an error. Turn on the local server, the project can run normally, and the report is correct. It is recommended to directly use the local server to open
and finally thank you for your help.


you'd better go to the source code debug.

Menu