antfu / vscode-vite

One step faster for Vite in VS Code ⚡️
https://marketplace.visualstudio.com/items?itemName=antfu.vite
458 stars 24 forks source link

How to change the port #19

Open gihanrangana opened 2 years ago

gihanrangana commented 2 years ago

how can i change the port? it's opening at port 4000. i need to change it for 3004

gihanrangana commented 2 years ago

found it on vscode settings.json file image

gihanrangana commented 2 years ago

if we have option to declare this for specific projects it would be good thing

Liwoj commented 2 years ago

Just change it in Workspace scope, not User

kvndrsslr commented 2 years ago

Any reason this is not inferred from the configuration file?

photostu commented 2 years ago

I would also like this to be inferred from vite.config as an option. Thanks for all your work Anthony!

pwango commented 1 year ago

exten setting the place you need!