I have seen some discussions about vue-router and rails routes being used side-by-side, but didn’t quite comprehend the details from them.
I have an existing rails project that uses routes such as:
= link_to "New Event", new_event_path, class: 'btn btn-primary'
which I have in a .html.haml file
And I am currently in the process of transitioning my rails code above into a vue component.
My question is, do i need to use vue-router to transition my rails code above, or can I use my rails routes without having to use vue-router somehow in my .vue file?
I just assume that using two different routing mechanisms in my project can get messy and cause unwanted conflicts down the line. Any insight is appreciated. thanks!