When using vue-router and packaging it with webpack, why does this error appear Uncaught TypeError: Cannot redefine property: $router
The following is the configuration of wbpack
Is it a webpack configuration problem?
阿神2017-05-19 10:26:48
Did your Vue get packaged twice? It says you have repeatedly defined $router