/aurelia-monaco-editor

Integrates the Monaco Editor with Aurelia

Primary LanguageJavaScript

This repo shows how to integrate the Monaco Editor with Aurelia

The application is based upon aurelia-cli which is the new command line interface for Aurelia.

I picked aurelia-cli because it is really simple and uses RequireJS for module loading which plays nicely with how the Monaco Editor is exposed.

The integration is implemented as a custom element in Aurelia.

Usage

<template>
  <require from="resources/elements/monaco-editor"></require>
  <monaco-editor options.bind="{language:'javascript', value:'console.log(42)'}"/>  
</template>