Skip to content
项目

takanabe/react-redux-material_ui-boilerplate

在 GitHub 查看

关于

适用于使用 React、Redux、Material UI 和 ES6 语法的应用程序的样板代码

网站与应用开发

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

react-redux-material_ui-boilerplate

A boilerplate for React + Redux + Material UI + ES6 syntax applications. This boilerplate includes the 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 the webpack cli command is registerd in package.json in this project, just type the following command to run webpack-dev-server:

$ npm start

Be careful! The webpack-dev-server rebuilds 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

探索相关项目

加载中…