Production build
Building the production assets
The source is now ready to be released. Both server and client have been managed in an unoptimized way to ease the development experience. To build the project to the production state, just run:
Running the production server
The above command just created the final assets within the out
directory. To run the production server,
run:
Check again http://localhost:3000/
This environment now has all the
optimizations ready to unleash the power of a rust server that seamlessly renders a React application!🚀
Edit pageNote: The
out
directory is not standalone. You can't rely just on it to run the production server.