After read the docs, I manage to config the base path '/bo/' for vuejs correctly
The variable VITE_DEFAULT_PATH="/bo/"
Please keep in mind, because this is config file so do not keep the environment variables values in it. This file will be loaded before vuejs create its app and load its environment variables. If you want to use environment variables in here, you have to load it manually.
The variable VITE_DEFAULT_PATH="/bo/"
Please keep in mind, because this is config file so do not keep the environment variables values in it. This file will be loaded before vuejs create its app and load its environment variables. If you want to use environment variables in here, you have to load it manually.
process.env = {...process.env, ...loadEnv(mode, process.cwd())};
After all those problems, I manage to deploy successfully and use some basic function.