const Component = require(`vn-print/core/component`); const emailBody = new Component('email-body'); module.exports = { name: 'receipt', components: { 'email-body': emailBody.build(), }, props: { id: { type: Number, required: true } } };