Skip to main content

Basic exhibition

This example shows the minimal setup: an HTML, a CSS, and a TypeScript editor, an "Update" button, and a preview iframe. The HTML builds the initial structure, CSS styles it, and TypeScript manipulates the DOM.

Live demo

When loading Monaco Editor with the @monaco-editor/loader helper package.

When loading Monaco Editor with the built-in loader