You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can't open the server in a specific browser I like when the server.open is set to true in vite.config.js. Previously, in vue.config.js, I add .env.development to the root, in which I set "BROWSER = chrome", and the server will be opened in chrome, not my default browser Microsoft Edge. But in Vite, I did the same while it turned out invalid.
Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/core instead.
Perhaps we could support loading BROWSER specifically in env files. Though for now according to the docs, you can set process.env.BROWSER = "chrome" in your Vite config for it to work.
Describe the bug
Can't open the server in a specific browser I like when the server.open is set to true in vite.config.js. Previously, in vue.config.js, I add .env.development to the root, in which I set "BROWSER = chrome", and the server will be opened in chrome, not my default browser Microsoft Edge. But in Vite, I did the same while it turned out invalid.
Reproduction
https://github.com/gengzhao2020/sph_vue3.git
System Info
Used Package Manager
npm
Logs
Validations
The text was updated successfully, but these errors were encountered: