zsumore / weather-monitor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

react-redux-material_ui-boilerplate

A boilerplate for React + Redux + Material UI + ES6 syntax applications. This boilerplate includes following tools and frameworks.

Usage

Preparation

$ git clone https://github.com/takanabe/react-redux-material_ui-boilerplate.git
$ mv react-redux-material_ui-boilerplate [YOUR_APPNAME]
$ cd [YOUR_APPNAME]
$ rm -rf .git
$ git init
$ git add -A
$ git commit -m "Initial commit with boilerplate"

Package installation

$ npm install

Use development server

For development server, webpack-dev-server is reasonable. It monitors update files and rebuild them automatically. Since webpack cli command is registerd in package.json in this project, just type following command to run webpack-dev-server.

$ npm start

Becareful! the webpack-dev-server rebuild files in src automatically but the bundled files are just placed on its memory. Build manually by allowing next section(Build assets), if you want need the bundled files.

Build assets

To put compiled files into static directory, type the following command.

$ npm run build

About

License:MIT License


Languages

Language:JavaScript 55.7%Language:Java 41.3%Language:CSS 2.0%Language:HTML 1.0%