npm install --save vue-route@n code example
Example: npm install --save vue-route@n
npm install --save vue-route@next
//this command is for the latest version of router in vue cli
npm install --save vue-route@next
//this command is for the latest version of router in vue cli