installingvue router code example Example: install vue router cd [project] npm install --save vue-router // install only on the project that we are in