Somewhat working webpack. Sponsors and communities pages done.
This commit is contained in:
parent
2eee936026
commit
241ef72290
22 changed files with 4604 additions and 1396 deletions
|
@ -1,21 +1,11 @@
|
|||
import { Component } from 'inferno';
|
||||
import { hydrate } from 'inferno-hydrate';
|
||||
import { BrowserRouter } from 'inferno-router';
|
||||
import { App } from '../shared/components/app';
|
||||
/* import { initDevTools } from 'inferno-devtools'; */
|
||||
|
||||
declare global {
|
||||
interface Window {
|
||||
isoData: {
|
||||
name: string;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
const wrapper = (
|
||||
<BrowserRouter>
|
||||
<App />
|
||||
<App site={window.isoData.site} />
|
||||
</BrowserRouter>
|
||||
);
|
||||
/* initDevTools(); */
|
||||
|
||||
hydrate(wrapper, document.getElementById('root'));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue