rsnext/examples/with-monaco-editor
2020-05-18 15:24:37 -04:00
..
pages Add monaco-editor example (#11232) 2020-05-18 13:21:13 -04:00
code-sample.js Add monaco-editor example (#11232) 2020-05-18 13:21:13 -04:00
next.config.js Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
package.json Add monaco-editor example (#11232) 2020-05-18 13:21:13 -04:00
README.md Add monaco-editor example (#11232) 2020-05-18 13:21:13 -04:00

Example app with Monaco Editor

This example adds support for Monaco Editor integration using the react-monaco-editor library.

Deploy your own

Deploy the example using ZEIT Now:

Deploy with ZEIT Now

How to use

Using create-next-app

Execute create-next-app with npm or Yarn to bootstrap the example:

npx create-next-app --example with-monaco-editor with-monaco-editor-app
# or
yarn create next-app --example with-monaco-editor with-monaco-editor-app

Download manually

Download the example:

curl https://codeload.github.com/zeit/next.js/tar.gz/canary | tar -xz --strip=2 next.js-canary/examples/with-monaco-editor
cd with-monaco-editor

Install it and run:

npm install
npm run dev
# or
yarn
yarn dev

Deploy it to the cloud with ZEIT Now (Documentation).