You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Why I installed js-xlsx, there is no json_to_sheet method after import**
import XLSX from 'js-xlsx'
export default {
downloadExl(json, fileName, type = undefined) {
console.log(XLSX)
console.log(XLSX.utils.json_to_sheet(json)) //error utils no json_to_sheet
}
} "dependencies": { "js-xlsx": "^0.8.22", "xlsx": "^0.18.5", }
The text was updated successfully, but these errors were encountered:
**
Why I installed js-xlsx, there is no json_to_sheet method after import**
import XLSX from 'js-xlsx'
export default {
downloadExl(json, fileName, type = undefined) {
console.log(XLSX)
console.log(XLSX.utils.json_to_sheet(json)) //error utils no json_to_sheet
}
}
"dependencies": { "js-xlsx": "^0.8.22", "xlsx": "^0.18.5", }
The text was updated successfully, but these errors were encountered: