How to configure wordpress to work with Vuejs with SSR and without hashbang

I think you should try Nuxt.js framework with Vue.js and WordPress as a server trough WP API. It works smoothly and have SSR solution in the box by default.

In other way you need to configure your server to work properly with history mode.

Take a look at configuration examples: https://router.vuejs.org/guide/essentials/history-mode.html

And to official vue.js SSR docs: https://ssr.vuejs.org