-
Notifications
You must be signed in to change notification settings - Fork 717
XLSX export does not work #339
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Unfortunately, I can't really answer this question as I'm not a bootstrap expert. The "ReferenceError: XLSX is not defined" message indicates that the xlsx.core.min file could not be loaded. Is the directory path correct? Does the file exist? There is a xlsx test file (without bootstrap) that could help you to track down your issue. |
Hi hhurz, thanks for your reply. |
Inspecting webpack console, I can see when I import |
A little bit googling leeds to this webpack isssue. Perhaps it helps. |
Thanks for the link. I also found this Webpack migration guide as an update. Unfortunately it looks like Webpack Encore does not support resolve.fallback. |
Hello,
If I import
tableexport.jquery.plugin/libs/js-xlsx/xlsx.core.min
then XLSX export fails with messageUncaught ReferenceError: XLSX is not defined
. If I try importingxlsx/dist/xlsx.full.min
instead, it fails again with messageUncaught ReferenceError: XLSX.utils is not defined
. On the other hand Excel export works well.Do I miss something ?
I use Bootstrap-Table 1.19.1 with tableexport.jquery.plugin 1.20.1 under Webpack 5.59.1.
Many thanks !
The text was updated successfully, but these errors were encountered: