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?
走同样的路,发现不同的人生
Did your Vue get packaged twice? It says you have repeatedly defined $router
Did your Vue get packaged twice? It says you have repeatedly defined $router