Maybe works now?

This commit is contained in:
Stian Aune
2019-11-09 23:11:08 +01:00
parent a470b43548
commit 30c3f2ab77
16 changed files with 1723 additions and 82 deletions
+5 -1
View File
@@ -3,7 +3,11 @@ import ReactDOM from 'react-dom';
import App from './App';
import * as serviceWorker from './serviceWorker';
ReactDOM.render(<App />, document.getElementById('root'));
const newElement = document.createElement("div");
newElement.id = "YKonsole-root";
document.body.append(newElement);
ReactDOM.render(<App />, newElement);
// If you want your app to work offline and load faster, you can change
// unregister() to register() below. Note this comes with some pitfalls.