From 1cc5e3c684fab9363b51d3d5396010899e61b5a0 Mon Sep 17 00:00:00 2001 From: Patrick Fabrizius Date: Fri, 16 Mar 2018 14:05:45 +0100 Subject: [PATCH] docs: Update demo instructions (#62) --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 61dd7b3..a4036a7 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,12 @@ let text = new MultiStyleText("Let's make some multiline\nand multi } }); ``` +## Build instructions + +``` +$ npm install +$ npm run build +``` ## Usage @@ -54,6 +60,12 @@ If text is rendered without any value assigned to a given parameter, Pixi's defa Open `demo/index.html` in a browser for several helpful examples. +Or: +``` +$ npm run demo +``` + + ## License MIT, see [LICENSE.md](http://github.com/tleunen/pixi-multistyle-text/blob/master/LICENSE.md) for details.