Update README.md

This commit is contained in:
Alexandru Dima 2018-07-03 12:50:38 +02:00 committed by GitHub
parent 1e3817ae55
commit 30868019d9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,7 +26,9 @@ module.exports = {
* `index.js`:
```js
import * as monaco from 'monaco-editor';
import * as monaco from 'monaco-editor'
// or import * as monaco from 'monaco-editor/esm/vs/editor/editor.api';
// if shipping only a subset of the features & languages is desired
monaco.editor.create(document.getElementById('container'), {
value: 'console.log("Hello, world")',