Webbrowser preview change port Krzysztof Created August 08, 2023 18:16 I have question how can i setup port for preview for my react app This is for localhost:4000 but my app runs on 5173 how can i change this port ?
Hello,
Please refer to the Vite documentation: Server Options: server.port
ok i see now it only shows html file but is there a possibility to see react app in this web preview ?
Hello,
Preview for React is currently not implemented. Please vote for this feature in our tracker to indicate additional interest: WEB-50302 React component preview (a la Jetpack Compose).
Meanwhile, you can try using a 3rd party plugin Preview.js.