An open API service indexing awesome lists of open source software.

https://github.com/alankrantas/monaco-ts-live-editor

Monaco TypeScript Live Editor
https://github.com/alankrantas/monaco-ts-live-editor

coding-tool monaco-editor online-editor react typescript vite

Last synced: 8 months ago
JSON representation

Monaco TypeScript Live Editor

Awesome Lists containing this project

README

          

# Monaco TypeScript Live Editor

> Try it [here](https://alankrantas.github.io/monaco-ts-live-editor/).

A simple demonstration to wrap [`@monaco-editor/react`](https://www.npmjs.com/package/@monaco-editor/react) into an online TypeScript editor component with IntelliSense support and script execution functionality. The React app is [created/built by Vite](https://vitejs.dev/) 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.