ampache_react/index.js

22 lines
579 B
JavaScript
Raw Normal View History

// Export
import "bootstrap";
import "bootstrap/dist/css/bootstrap.css";
import "./app/styles/ampache.css";
2016-07-07 23:23:18 +02:00
// Handle app init
import React from "react";
import { render } from "react-dom";
import { hashHistory } from "react-router";
import { syncHistoryWithStore } from "react-router-redux";
import Root from "./app/containers/Root";
import configureStore from "./app/store/configureStore";
const store = configureStore();
const history = syncHistoryWithStore(hashHistory, store);
render(
<Root store={store} history={history} />,
document.getElementById("root")
);