diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2017-06-29 00:14:07 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2017-06-29 00:14:07 +0200 |
| commit | a190d638c608f4352e3f01d72ed419a5ab5129ed (patch) | |
| tree | dd6e7ea24c2ae4b6251f1ae2b609d9017acfd199 /client/index.js | |
db stuff and initial app scaffold
Diffstat (limited to 'client/index.js')
| -rw-r--r-- | client/index.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/client/index.js b/client/index.js new file mode 100644 index 0000000..b78c5ea --- /dev/null +++ b/client/index.js @@ -0,0 +1,12 @@ +import { h, render } from 'preact' +import App from './components/App.jsx' +import { BrowserRouter } from 'react-router-dom' + +const app = ( + <BrowserRouter> + <App /> + </BrowserRouter> +) + +render(app, document.getElementById('container')) + |
