razzle-material-ui-styled-example

Razzle Material-UI example with Styled Components using Express with compression

Github stars Tracking Chart

Features

    • Server Side Rendering
    • Hot Module Replacement for both client and server side React components
    • Up to date JavaScript (ECMAScript 6 (2015)) support
    • Single route static site generation
  • server with gzip compression

Getting Started

  • Initial steps
    • Install and .
    • Download or clone this repository.
    • Open a command prompt in the project folder.

Install dependencies:

yarn install

Start the server:

yarn start

This command initiates a build process and starts the server in production mode.

Visit http://localhost/ to access the web application.

Development

Start the server in development mode:

yarn dev

Single route static site generation

Generate a static site:

yarn static

Open the 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.js for the server
  • src/client.js for the browser

Main metrics

Overview
Name With Ownerkireerik/razzle-material-ui-styled-example
Primary LanguageJavaScript
Program languageJavaScript (Language Count: 1)
Platform
License:
所有者活动
Created At2017-05-12 21:02:20
Pushed At2024-10-15 06:04:53
Last Commit At2018-12-23 22:41:46
Release Count11
Last Release Name1.5.0 (Posted on )
First Release Name1.0.0 (Posted on )
用户参与
Stargazers Count113
Watchers Count6
Fork Count13
Commits Count56
Has Issues Enabled
Issues Count2
Issue Open Count0
Pull Requests Count0
Pull Requests Open Count11
Pull Requests Close Count1
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private