Navigation not working in aws amplify implementation

Create a project with ionic framework 6 + vue3. I am using Vue Router.
I deployed the application using AWS Amplify CLI, it was built well and it generated a url to access it. However the navigation does not work. Only path ‘/’ works. When entering the rest of the routes it shows me this message.

It appears to be a server routing issue. But I have no idea how to do that in aws amplify. I hope you can help me, thanks

U need to rewrite all routes to / on the server

Not sure how it is done in AWS

1 Like