I'm using the headless 18 vue sample, I'd like to have the devServer open a different browser, but the open config doesn't seem to make any difference (when putting that in vue.config.js. This is what I have tried - based on the documentation here: https://webpack.js.org/configuration/dev-server/

vueConfig.devServer = {
  port: process.env.PORT || 3000,
    process.env.JSS_MODE === 'disconnected'
      ? `http://localhost:${process.env.PROXY_PORT || 3042}`
      : undefined,
  open: {
    app: {
      name: 'google-chrome',
      arguments: ['--incognito', '--new-window'],

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.