2016-07-25 01:04:09 +02:00
|
|
|
// 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")
|
|
|
|
);
|