Update README

This commit is contained in:
Dolan
2018-08-09 03:20:46 +01:00
parent e9ea4845be
commit f6996a1d98
2 changed files with 8 additions and 8 deletions

View File

@ -39,14 +39,6 @@ Press `endpoint` on the `RunKit` website:
* https://runkit.com/dolanmiu/docx-demo8/1.0.1 - Header and Footer
* https://runkit.com/dolanmiu/docx-demo10 - **My CV generated with docx**
#### Run demos locally:
```sh
$ npm run demo
```
This command will run the demo selector app in the `demo` folder. It will prompt you to select a demo number, which will run a demo from that folder.
## How to
Please refer to [https://docx.js.org/](https://docx.js.org/) for details on how to use this library, examples and much more!

View File

@ -2,6 +2,14 @@
> All examples can run independently and can be found in the `/demo` folder of the project
All the examples below can be ran locally, to do so, run the following command:
```sh
npm run demo
```
This command will run the `demo selector app` in the `/demo` folder. It will prompt you to select a demo number, which will run a demo from that folder.
## Simple
A simple hello world of the `docx` library: