Update README
This commit is contained in:
@ -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!
|
||||
|
@ -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:
|
||||
|
Reference in New Issue
Block a user