mirror of
https://github.com/danbulant/monaco-yaml
synced 2026-06-16 13:01:08 +00:00
For both the project and all exmaples the prerequisites, setup steps, and running instructions have been added.
31 lines
612 B
Markdown
31 lines
612 B
Markdown
# Demo
|
|
|
|
This demo is deployed to [monaco-yaml.js.org](https://monaco-yaml.js.org). It shows how
|
|
`monaco-editor` and `monaco-yaml` can be used with
|
|
[Webpack 5](https://webpack.js.org/concepts/entry-points).
|
|
|
|
## Prerequisites
|
|
|
|
- [NodeJS](https://nodejs.org) 16 or higher
|
|
- [npm](https://github.com/npm/cli) 8.1.2 or higher
|
|
|
|
## Setup
|
|
|
|
To run the project locally, clone the repository and set it up:
|
|
|
|
```sh
|
|
git clone https://github.com/remcohaszing/monaco-yaml
|
|
cd monaco-yaml
|
|
npm ci
|
|
npm run prepack
|
|
```
|
|
|
|
## Running
|
|
|
|
To start it, simply run:
|
|
|
|
```sh
|
|
npm --workspace demo start
|
|
```
|
|
|
|
The demo will open in your browser.
|