I'm using Vue 3 and Vue Router. My app is working with createWebHashHistory, but when I change to mode: 'history' the pages don't load.
const router = createRouter({
mode: 'history',
routes
})
I know that in production I have to configure the server to use mode: 'history', but I'm serving the app in a development server using npm run serve.