javascript - vue router error
怪我咯
怪我咯 2017-05-19 10:24:48
0
1
565

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?

怪我咯
怪我咯

走同样的路,发现不同的人生

reply all(1)
阿神

Did your Vue get packaged twice? It says you have repeatedly defined $router

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template