import React from 'react';
import ReactDOM from 'react-dom';

import styles from './styles.module.css';

const App = React.createClass({
	render: function() {
		return (
			<div className={styles.wrapper}>
				This is my app!
				<h1>
					<i className="fa fa-star"></i>
					Environment: {__NODE_ENV__}</h1>
			</div>
		)
	}
})

module.exports = App;
import React from 'react';
import ReactDOM from 'react-dom';
import { Router } from 'react-router';

import styles from './styles.module.css';

const App = React.createClass({
	render: function() {
		return (
			<div className={styles.wrapper}>
				This is my app!
				<h1>
					<i className="fa fa-star"></i>
					Environment: {__NODE_ENV__}</h1>
			</div>
		)
	}
})

module.exports = App;
Add react-router to App file