We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
server.host
true
After I create a project with create-vue, when I run pnpm dev to start the project, it will bind port 3000 by default, which is no problem.
pnpm dev
3000
But when I already have a project listening on port 3000, I hope the listening port will become 3001, but it will still listen on 3000.
3001
So I think server.host can be set to true.
add code here
create-vue/template/base/vite.config.js
Line 7 in 1fb74eb
server: { host: true }
The text was updated successfully, but these errors were encountered:
It's an issue that will be fixed in Vite 3. See vitejs/vite#8543
Sorry, something went wrong.
No branches or pull requests
After I create a project with create-vue, when I run
pnpm dev
to start the project, it will bind port3000
by default, which is no problem.But when I already have a project listening on port
3000
, I hope the listening port will become3001
, but it will still listen on3000
.So I think
server.host
can be set totrue
.add code here
create-vue/template/base/vite.config.js
Line 7 in 1fb74eb
The text was updated successfully, but these errors were encountered: