mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2024-12-23 01:20:24 +03:00
24 lines
679 B
JavaScript
24 lines
679 B
JavaScript
import 'bootstrap/dist/css/bootstrap.min.css';
|
|
import React from 'react';
|
|
import ReactDOM from 'react-dom';
|
|
import { Provider } from 'react-redux';
|
|
import { BrowserRouter } from 'react-router-dom';
|
|
import { applyMiddleware, createStore } from 'redux';
|
|
import ReduxThunk from 'redux-thunk';
|
|
|
|
import App from './App';
|
|
import './index.scss';
|
|
import reducers from './reducers';
|
|
import registerServiceWorker from './registerServiceWorker';
|
|
|
|
const store = createStore(reducers, applyMiddleware(ReduxThunk));
|
|
|
|
ReactDOM.render(
|
|
<Provider store={store}>
|
|
<BrowserRouter>
|
|
<App />
|
|
</BrowserRouter>
|
|
</Provider>,
|
|
document.getElementById('root')
|
|
);
|
|
registerServiceWorker();
|