1
0
mirror of synced 2025-12-11 16:58:06 +08:00

patch(#142): added examples README.md

This commit is contained in:
Jamie Peabody
2021-04-29 20:24:21 +01:00
parent 747bcacf2c
commit d2c41d1ee1
3 changed files with 36 additions and 1 deletions

32
examples/README.md Normal file
View File

@@ -0,0 +1,32 @@
# Mergely examples
To run these examples, you need to run:
```bash
$ npm start
```
This runs Mergely in a hot dev-server for development.
## Main example
http://localhost:8080
Shows basic functionality.
## Ajax example
http://localhost:8080/examples/ajax.html
Who still says "ajax" these days? Anyway, this example demonstrates how to load your left-hand and right-hand sources from external URL, and also how to skin your own editor, and provide drop-file functionality.
## Simple example
This example demonstrates how to load your left-hand and right-hand sources from static text.
http://localhost:8080/examples/simple.html
## Size example
This example demonstrates how to size your editors, and also how to have multiple editors on the same page.
http://localhost:8080/examples/size.html