16.04.2018 - Learn how to design and develop simple user login functionality in a Vue.js web Now create a src/views/login.vue file with the following code: . of our two components and set the root path to redirect to our login screen..