npm install vue-router --save-dev运行后启动报错如下: 原因那个npm版本太高,可使用cnpm install vue-router@3.1.3 --save-dev解决