how to make a build of vue js project independent of where it is uploaded?

Viewed 17

I have project with Vuejs.

If I build it for this baseUrl '/'

it will not work when it is uploaded in '/example-url'

so every time that I want to upload my project in different URL I have to make a new build for that ,

and it is waste of time

so the question is How I can get a build of project that will work every where that is uploaded,

for example : www.example.com or www.example.com/some-route

I mean a general build is possible ?

can Docker help about that ?

0 Answers
Related