mirror of https://gitlab.com/ecentrics/concordia
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
803 B
27 lines
803 B
4 years ago
|
import React from 'react';
|
||
|
import { render } from 'react-dom';
|
||
4 years ago
|
import { Drizzle } from '@ezerous/drizzle';
|
||
|
import { Breeze } from '@ezerous/breeze';
|
||
|
import App from './components/App';
|
||
4 years ago
|
import store from './redux/store';
|
||
|
|
||
4 years ago
|
import AppContext from './components/AppContext';
|
||
4 years ago
|
|
||
|
import drizzleOptions from './options/drizzleOptions';
|
||
|
import * as serviceWorker from './utils/serviceWorker';
|
||
|
|
||
|
import './assets/css/index.css';
|
||
|
import breezeOptions from './options/breezeOptions';
|
||
|
|
||
|
const drizzle = new Drizzle(drizzleOptions, store);
|
||
|
const breeze = new Breeze(breezeOptions, store);
|
||
|
|
||
|
render(
|
||
4 years ago
|
<AppContext.Provider drizzle={drizzle} breeze={breeze}>
|
||
|
<App store={store} />
|
||
|
</AppContext.Provider>,
|
||
|
document.getElementById('root'),
|
||
4 years ago
|
);
|
||
|
|
||
|
serviceWorker.unregister(); // See also: http://bit.ly/CRA-PWA
|