I'm encountering a problem trying to run my Vue.js app from the dist folder.
After searching on this site, I came across a helpful thread titled Vuejs, Difficulties to build with relative path, which suggested the following solution:
Create a "vue.config.js" file in the main path of your project
Provide a relative path. For example:
module.exports = {
publicPath: './'
};
I have implemented the above steps as advised. However, when I execute
npm run build
and inspect the file, it seems like the changes were not applied.
For reference, here are the versions I am using:
"core-js": "^2.6.5",
"vue": "^2.6.10"
If anyone has faced a similar issue or knows a possible solution, I would greatly appreciate your input.