Carlos Aguni

Highly motivated self-taught IT analyst. Always learning and ready to explore new skills. An eternal apprentice.


Vuejs2 build subpath

01 Oct 2022 »

https://medium.com/h-lab/how-to-deploy-vue-with-nginx-on-sub-path-ed8eadbc1bc5

vue.config.js

module.exports = {
  publicPath: process.env.APP_BASE_PATH
}

Vuej3

https://stackoverflow.com/questions/43879418/deploy-vuejs-app-in-a-subdirectory

module.exports = {
  baseUrl: "./"
};