2023-10-11 22:06:09 +00:00
|
|
|
import './pwa';
|
2023-06-03 13:13:37 +00:00
|
|
|
import React from 'react';
|
2023-05-07 19:11:16 +00:00
|
|
|
import ReactDOM from 'react-dom/client';
|
|
|
|
|
2023-06-03 13:13:37 +00:00
|
|
|
import { AppRoot } from './components/AppRoot';
|
2023-05-07 19:11:16 +00:00
|
|
|
|
2023-06-11 21:41:06 +00:00
|
|
|
import { Light as SyntaxHighlighter } from 'react-syntax-highlighter';
|
|
|
|
import hljsSyntaxPowerShell from 'react-syntax-highlighter/dist/esm/languages/hljs/powershell';
|
|
|
|
import hljsSyntaxBash from 'react-syntax-highlighter/dist/esm/languages/hljs/bash';
|
|
|
|
|
|
|
|
SyntaxHighlighter.registerLanguage('ps1', hljsSyntaxPowerShell);
|
|
|
|
SyntaxHighlighter.registerLanguage('bash', hljsSyntaxBash);
|
|
|
|
|
2023-06-03 13:13:37 +00:00
|
|
|
ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render(
|
|
|
|
<React.StrictMode>
|
|
|
|
<AppRoot />
|
2023-10-11 22:06:09 +00:00
|
|
|
</React.StrictMode>,
|
2023-06-03 13:13:37 +00:00
|
|
|
);
|