20 lines
563 B
JavaScript
20 lines
563 B
JavaScript
const Component = require(`vn-print/core/component`);
|
|
|
|
const path = require('path');
|
|
const vnPrintPath = path.resolve('print');
|
|
|
|
const blankTemplate = new Component(`blank-template`);
|
|
class Template {
|
|
constructor() {
|
|
this._template = `${vnPrintPath}/core/components/blank-template/blank-template.html`;
|
|
}
|
|
build(ass) {
|
|
console.log('ass: ', ass);
|
|
console.log('Building blank notification');
|
|
console.log('this._template: ', this._template);
|
|
blankTemplate.build(this._template);
|
|
}
|
|
}
|
|
|
|
module.exports = Template;
|