This was solved by changing the history param from the router to:
history: createWebHistory()
Couldn't find documentation on the difference for this, just started trying different stuff.