Closed pytdata closed 3 years ago
If you plan to use the library without a build pipeline, you should use the
standalone.js
file
On Sun, Jul 25, 2021 at 22:29 Sampah Emmanuel @.***> wrote:
Hello guyz, so I included the script tag in my code:
and also tried testing the library with this short code:
`
textXLSX=()=>{ const exports = { filename: 'general-ledger-Q1', sheet: { data: [ [{ value: 'Income - Webshop', type: 'string' }, { value: 1000, type: 'number' }] ] } }; zipcelx(exports); }
textXLSX()
`
This is he error am getting in the console: legacy.js:1 Uncaught ReferenceError: exports is not defined
Kindly help a brother here. Thanks.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/egeriis/zipcelx/issues/89, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAENR4BIFLZ6VMLNEW3XIPLTZTJAZANCNFSM5A7HU22A .
Thanks @egeriis. :) The error is gone but not excel file was generated.
Difficult to help without any debugging information :) Are you seeing any errors?
Difficult to help without any debugging information :) Are you seeing any errors?
no please no errors at all
Hello @egeriis, everything is working just fine.
I have a base b4 encoded image, can it be used as a cell value, am trying to add image to the excel
I have a base b4 encoded image, can it be used as a cell value, am trying to add image to the excel
No, just text or num values
Hello guyz, so I included the script tag in my code:
<script src="../zipcelx/lib/legacy.js"></script>
and also tried testing the library with this short code:
`
`
This is he error am getting in the console:
legacy.js:1 Uncaught ReferenceError: exports is not defined
Kindly help a brother here. Thanks.