var React = require("react");
var Router = require('react-router');
var App = require("./components/App");
var WallView = require("./components/WallView/WallView");
var NotFoundView = require("./components/NotFoundView/NotFoundView");

var DefaultRoute = Router.DefaultRoute;
var Route = Router.Route;
var RouteHandler = Router.RouteHandler;
var NotFoundRoute = Router.NotFoundRoute;

var routes = (
  <Route name="app" path="/" handler={App}>
    <DefaultRoute handler={WallView} />
    <NotFoundRoute handler={NotFoundView} />
  </Route>
);

Router.run(routes, function (Handler) {
  React.render(<Handler/>, document.getElementById('main'));
});

var React = require("react");
var Router = require('react-router');
var App = require("./components/App");
var WallView = require("./components/WallView/WallView");
var NotFoundView = require("./components/NotFoundView/NotFoundView");

var DefaultRoute = Router.DefaultRoute;
var Route = Router.Route;
var RouteHandler = Router.RouteHandler;
var NotFoundRoute = Router.NotFoundRoute;

var injectTapEventPlugin = require("react-tap-event-plugin");
injectTapEventPlugin();

var routes = (
  <Route name="app" path="/" handler={App}>
    <DefaultRoute handler={WallView} />
    <NotFoundRoute handler={NotFoundView} />
  </Route>
);

Router.run(routes, function (Handler) {
  React.render(<Handler/>, document.getElementById('main'));
});

Add in module to use react materialize-ui
Add in module to use react materialize-ui
