Just popping in to add that if the URL you're trying to have open automatically isn't localhost (because your app has a local URL proxy configured), set open to the string path instead of a boolean, e.g.,
export default defineConfig({
server: {
open: 'https://mycustomlocalurl.io/basepath'
}
})