mirror of
https://github.com/suren-atoyan/monaco-react.git
synced 2026-01-18 15:54:45 +00:00
67 lines
3.2 KiB
HTML
67 lines
3.2 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico" />
|
|
<meta name="description" content="Monaco editor wrapper for easy/one-line integration with React applications (e.g. powered by create-react-app) without need of webpack configuration files" />
|
|
<meta name="keywords" content="monaco editor react, monaco react, monaco editor, reactjs, vscode" />
|
|
<meta name="author" content="Suren Atoyan">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<meta name="theme-color" content="#000000" />
|
|
<link rel="canonical" href="https://monaco-react.surenatoyan.com">
|
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500" />
|
|
|
|
<!--
|
|
manifest.json provides metadata used when your web app is installed on a
|
|
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
|
|
-->
|
|
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
|
|
<!--
|
|
Notice the use of %PUBLIC_URL% in the tags above.
|
|
It will be replaced with the URL of the `public` folder during the build.
|
|
Only files inside the `public` folder can be referenced from the HTML.
|
|
|
|
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
|
|
work correctly both with client-side routing and a non-root public URL.
|
|
Learn how to configure a non-root public URL by running `npm run build`.
|
|
-->
|
|
<title>Monaco Editor React</title>
|
|
|
|
<style type="text/css">
|
|
.msc {
|
|
height: 1px;
|
|
width: 1px;
|
|
opacity: 0;
|
|
position: absolute;
|
|
z-index: -1;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<noscript>You need to enable JavaScript to run this app.</noscript>
|
|
<main id="_msc" class="msc"></main>
|
|
<script type="text/javascript" src="/polyfill.js"></script>
|
|
<script type="text/javascript">
|
|
if ((/bot|googlebot|crawler|spider|robot|crawling/i.test(navigator.userAgent))) {
|
|
var coreJsScript = document.createElement('script');
|
|
coreJsScript.src = 'https://unpkg.com/core-js-bundle@3.0.1/minified.js';
|
|
document.body.insertBefore(coreJsScript, _msc);
|
|
|
|
_msc.innerHTML = "Monaco editor wrapper for easy/one-line integration with React applications (e.g. powered by create-react-app) without need of webpack (or other module bundler) configuration files. You don't need any kind of webpack configuration files and it works great with React apps created by CRA or created by something else. <h1>Monaco Editor React</h1><h2>code editor react</h2><h3>create react app</h3><h4>vscode</h4><h5>editor javascript</h5><h6>code editor browser</h6>";
|
|
_msc.className = '';
|
|
}
|
|
</script>
|
|
<div id="root"></div>
|
|
<!--
|
|
This HTML file is a template.
|
|
If you open it directly in the browser, you will see an empty page.
|
|
|
|
You can add webfonts, meta tags, or analytics to this file.
|
|
The build step will place the bundled scripts into the <body> tag.
|
|
|
|
To begin the development, run `npm start` or `yarn start`.
|
|
To create a production bundle, use `npm run build` or `yarn build`.
|
|
-->
|
|
</body>
|
|
</html>
|