Before running/building the app either create a .env
file or set the environment variable VITE_BACKEND_URL
.
In the project directory, you can run:
Runs the app in the development mode.
Should automatically open http://localhost:5173 in the browser.
The page will reload if you make edits.
Builds the app for production to the dist
folder using the .env.production
configuration\
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
Builds the app (using the .env.production configuration) and serves the bundle.
Open http://localhost:3000 to view it in the browser.