Vue JS Change Absolute Path of Assets

Build to a sub-directory with Vue.js. Get rid of the absolute path build with Vue.js

I was struggling to mount a vue.js dist folder on a directory such as /smoothie or something as an inner folder. I figured the place and wanted to share it with new developers to Vue.JS. 

Inside the config folder, there is a file called index.js. There you will see the assetsPublicPath. You can change that to your liking. 


Screen-Shot-2020-06-27-at-7-31-39-AM Screen-Shot-2020-06-27-at-7-31-47-AM