13 lines
335 B
JavaScript
13 lines
335 B
JavaScript
"use strict";
|
|
import React from 'react';
|
|
import ReactDOMClient from 'react-dom/client';
|
|
|
|
import Endian from '/endian';
|
|
import Page from '/components/page';
|
|
|
|
const body = document.querySelector('body');
|
|
const app = document.createElement('div');
|
|
body.appendChild(app);
|
|
const root = ReactDOMClient.createRoot(app);
|
|
root.render(<Page/>);
|