Skip to content

Starter responsive admin template with React and Flux.

Notifications You must be signed in to change notification settings

nesbtesh/React-Admin

Repository files navigation

alt text

React Admin Template

V1.0

What is it?

A reponsive template for React.js using Flux and Bootless.

Installation

	$ npm install

The code above should install all the dependencies needed. If it doesn't work try looking at package.json and see what dependencies you are missing.

Usage

Running webpack

I added a script to the package.json file to run webpack on your computer. Do not use this for production.

	$ npm run dev

If webpack is not installed try installing with the code below.

 	$ npm install webpack --save

After running the above just go to http://localhost:8080

Adding a configuration file

To add a configuration file just go to webpack.config.js and add the code below. Also don't forget to add the two json file with your variables.

	externals: {
   		'Config': JSON.stringify(process.env.NODE_ENV ? require('./config.prod.json') : require('./config.dev.json'))
  	}

To access your configuration file just do the following:

	import Config from "Config";
	
	//then to access the setting just go:
	Config.settingName;

License

MIT

About

Starter responsive admin template with React and Flux.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published