8 months ago

Vue login vs standard form

Posted 8 months ago by packy

What are the downsides to using a Vue component with an Axios call to login? I have seen a few forum comments just hating on using Vue to do this and not just the "out of the box" solution. In my opinion I always use Vue for any form since I think its a better user experience to not refresh the page and provide error / success / loading messages from what the API returns. Even this site seems to use a modal with Vue to log you in so wasn't sure if there was any real benefits to using the Laravel views other than its just already made considering you use the same controllers and pass a csrf token with your request using Vue


Please sign in or create an account to participate in this conversation.