Skip to content

Commit

Permalink
docs(readme): js config needs export not default export
Browse files Browse the repository at this point in the history
  • Loading branch information
simonhaenisch committed Nov 18, 2019
1 parent 7ae4419 commit ae40337
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ pdf_options:
# Content
```

The config file can be a Javascript file that default exports a config object, which gives you the full power of the eco-system (e. g. for advanced header/footer templates); or it can also be a `.json` if you like it simple.
The config file can be a Javascript file that exports a config object, which gives you the full power of the eco-system (e. g. for advanced header/footer templates); or it can also be a `.json` if you like it simple.

Example `config.js`:

Expand Down

0 comments on commit ae40337

Please sign in to comment.