Skip to content

alankrantas/monaco-ts-live-editor

Repository files navigation

Monaco TypeScript Live Editor

Try it here.

A simple demonstration to wrap @monaco-editor/react into an online TypeScript editor component with IntelliSense support and script execution functionality. The React app is created/built by Vite and deployed to GitHub Pages using Github Actions.

Development

yarn

Install dependencies.

yarn upgrade-all

Upgrade all dependencies.

yarn dev

Start the dev server.

yarn build

Build a production at ./dist.

yarn preview

Serve and view the built production.

yarn commit

Commit changes.