Our vue application has to be deployed in a web server in a relative path...something like student.com/myvueapp/
so in my vue app , i put public path as myvueapp
and in vue.config.js :
module.exports = {
publicPath: '/myvueapp/'
}
It works in the subpath , when i do vue-cli-service serve .But when i do build and use the assets ,it doesn't work. I
I went to dist directory after building and ran python -m SimpleHTTPServer 8000 it fails.
How should i fix it ? should i set some other properties other than public path?
I put it into our dev server nginx , but there also it doesn't work.