Skip to content

setting publicPath breaks devServer #15838

Discussion options

You must be logged in to vote

one way is to set your public path on production only, something like:

module.exports = configure(function (ctx) {
    return {
        build: {
          publicPath: ctx.prod ? '/association-ui/':'/'
        }
    };
});

edit: sorry i missed the last part of your question
https://quasar.dev/quasar-cli-vite/api-proxying
https://quasar.dev/quasar-cli-webpack/api-proxying

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@charlycou
Comment options

Answer selected by charlycou
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants