[Vuejs]-How do I deploy a VueJS project for production which is using the history mode for routing?

0👍

I don’t have enough reputation to answer in the comment section under your question, so i provide an answer here.

You can find the code that tells the web server to serve the index.html file for every routing request here. Just create a .htaccess file and upload it to your server.

In your example above you also need to import your Dahsboard-Component if you are using single file components.

Leave a comment