[Vuejs]-Nginx root switch based on path for multiple vue apps

0👍

I was able to fix this for my own case at least so I’ll share what I ended up with.

I added a vue.config.js which contains a public path, so all the imports in the dist folder turned from /js to /first/js

Which is all I needed for my case.

module.exports = {
    publicPath: '/first/'
}

Leave a comment