Razzle Material-UI Styled Example
- server with gzip compression
- Initial steps
Install dependencies:yarn install
Start the server:
This command initiates a build process and starts the server in production mode.
Visit http://localhost/ to access the web application.
Start the server in development mode:
Single route static site generation
Generate a static site:
index.html within the
static folder to access the web application. The folder name can be modified with the
RAZZLE_STATIC_PATH environment variable.
Idea behind the example
This project is based on the basic razzle example. This repository also satisfies the following 2 entry points requred by Razzle:
src/index.jsfor the server
src/client.jsfor the browser