https://github.com/jsreport/jsreport-base
jsreport extension automatically injecting html base tag to allow relative referencing of local files
https://github.com/jsreport/jsreport-base
Last synced: about 1 year ago
JSON representation
jsreport extension automatically injecting html base tag to allow relative referencing of local files
- Host: GitHub
- URL: https://github.com/jsreport/jsreport-base
- Owner: jsreport
- License: mit
- Created: 2017-07-05T15:52:16.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2021-08-20T16:59:03.000Z (almost 5 years ago)
- Last Synced: 2025-04-07T22:36:16.030Z (about 1 year ago)
- Language: JavaScript
- Size: 89.8 KB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
**⚠️ This repository has been moved to the monorepo [jsreport/jsreport](https://github.com/jsreport/jsreport)**
--
# jsreport-base
[](https://npmjs.com/package/jsreport-base)
[](https://travis-ci.org/jsreport/jsreport-base)
jsreport extension automatically injecting [html base tag](https://www.tutorialspoint.com/html/html_base_tag.htm) to allow relative referencing of local files
See https://jsreport.net/learn/base
## Installation
> npm install jsreport-base
## jsreport-core
You can apply this extension also manually to [jsreport-core](https://github.com/jsreport/jsreport-core)
```js
var jsreport = require('jsreport-core')()
jsreport.use(require('jsreport-base')({ url: __dirname }))
```