improving readme
This commit is contained in:
parent
d18c16ee68
commit
b9eadf8834
@ -99,8 +99,7 @@ And then run the code:
|
|||||||
```js
|
```js
|
||||||
import {join} from 'node:path';
|
import {join} from 'node:path';
|
||||||
|
|
||||||
import {getOdtTemplate} from '../scripts/odf/odtTemplate-forNode.js'
|
import {getOdtTemplate, fillOdtTemplate} from '@odfjs/odfjs'
|
||||||
import {fillOdtTemplate} from '../scripts/node.js'
|
|
||||||
|
|
||||||
// replace with your template path
|
// replace with your template path
|
||||||
const templatePath = join(import.meta.dirname, './tests/data/template-anniversaire.odt')
|
const templatePath = join(import.meta.dirname, './tests/data/template-anniversaire.odt')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user