mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-24 15:02:52 -05:00
Merge pull request #460 from cwillisf/update-readme-playground
Update playground paths in README.md
This commit is contained in:
commit
ddee4186b8
1 changed files with 2 additions and 2 deletions
|
@ -31,7 +31,7 @@ npm start
|
||||||
```
|
```
|
||||||
|
|
||||||
## Playground
|
## Playground
|
||||||
To run the Playground, make sure the dev server's running and go to [http://localhost:8073/](http://localhost:8073/) - you will be directed to the playground, which demonstrates various tools and internal state.
|
To run the Playground, make sure the dev server's running and go to [http://localhost:8073/playground/](http://localhost:8073/playground/) - you will be directed to the playground, which demonstrates various tools and internal state.
|
||||||
|
|
||||||
![VM Playground Screenshot](https://i.imgur.com/nOCNqEc.gif)
|
![VM Playground Screenshot](https://i.imgur.com/nOCNqEc.gif)
|
||||||
|
|
||||||
|
@ -50,7 +50,7 @@ npm run build
|
||||||
```
|
```
|
||||||
|
|
||||||
## How to include in a Node.js App
|
## How to include in a Node.js App
|
||||||
For an extended setup example, check out the /playground directory, which includes a fully running VM instance.
|
For an extended setup example, check out the /src/playground directory, which includes a fully running VM instance.
|
||||||
```js
|
```js
|
||||||
var VirtualMachine = require('scratch-vm');
|
var VirtualMachine = require('scratch-vm');
|
||||||
var vm = new VirtualMachine();
|
var vm = new VirtualMachine();
|
||||||
|
|
Loading…
Reference in a new issue