Skip to content

This is an boilerplate for an base React PWApp using Material UI

Notifications You must be signed in to change notification settings

maxjf1/react-material-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Material UI Boilerplate

This is an Ract APP boilerplate based on CRA using Material UI

Installation

This boilerplate uses create-react-app. You can Download the newest release or clone the repository:

    npm install -g create-react-app # If you don't have it installed
    git clone [email protected]:maxjf1/react-material-boilerplate.git my-project
    cd my-project
    yarn install
    rm -rf .git # To remove boilerplate git reference

Now you can change :

After setup, you can start the project

    npm start

to deploy the project to GitHub Pages, run:

    npm run deploy

You can check an demo at https://maxjf1.github.io/react-material-boilerplate/.

Features

This boilerplate setup an project to use Material UI and adds some reusable components

Service Worker Register

The default SW register was modified to an JS Class. This is useful for reusing the instance.

Update Handler

The UpdateHandler component receives the SWRegister and listen for installing and updates. It will automatically show an Snackbar giving feedback for the user.

Header

The Header is a basic Material UI AppBar with some aditional features

About

This is an boilerplate for an base React PWApp using Material UI

Resources

Stars

Watchers

Forks

Packages

No packages published