Hello, i have a project that requires using dynamic public paths to get assets.
I have read in a few places about webpack variable -
__webpack_public_path__ that allows you to set the public path at runtime. But whenever i try to use this
__webpack_public_path__ when i run my project using vue-cli-service (npm run serve), it throws an error
__webpack_public_path__ is undefined and i cant figure out a way to use it in my vue project.
I am using a vue.config.js file, without webpack.config.js file
I would like to know if anyone has a solution to my problem. Thank You!