NPM Install--Save Vue-Route@N

npm install --save vue-route@next
//this command is for the latest version of router in vue cli
Mohamad