mirror of
https://github.com/konvajs/konva.git
synced 2025-04-05 20:48:28 +08:00
update node instructions
This commit is contained in:
parent
fe68d84759
commit
1872fd68da
@ -26,7 +26,7 @@ This repository began as a GitHub fork of [ericdrowell/KineticJS](https://github
|
||||
We are using [node-canvas](https://github.com/LearnBoost/node-canvas) to create canvas element.
|
||||
|
||||
1. Install node-canvas [https://github.com/LearnBoost/node-canvas/wiki/_pages](https://github.com/LearnBoost/node-canvas/wiki/_pages)
|
||||
2. `npm install jsdom`
|
||||
2. `npm install jsdom@3.x` (jsdom v4 require iojs)
|
||||
3. `npm install konva`
|
||||
|
||||
See file `resources/nodejs-demo.js` for example.
|
||||
|
Loading…
Reference in New Issue
Block a user