mirror of
https://github.com/danbulant/monaco-yaml
synced 2026-05-21 21:28:38 +00:00
For both the project and all exmaples the prerequisites, setup steps, and running instructions have been added.
29 lines
537 B
Markdown
29 lines
537 B
Markdown
# Vite Example
|
|
|
|
This minimal example shows how `monaco-yaml` can be used with [Vite](https://vitejs.dev).
|
|
|
|
## 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 vite-example start
|
|
```
|
|
|
|
The demo will be available on http://localhost:3000.
|