npm install --save xlsx
时间: 2023-09-27 21:07:35 浏览: 228
引用\[1\]:当出现类似报错"export ‘default’ (imported as ‘XLSX’) was not found in ‘xlsx’"时,可以尝试使用以下命令进行安装: npm install xlsx@0.16.0 --save。这将安装版本为0.16.0的xlsx库并将其保存到项目中。\[1\]
问题: npm install --save xlsx是用来做什么的?
回答: npm install --save xlsx是用来安装xlsx库并将其保存到项目中的命令。\[1\]
#### 引用[.reference_title]
- *1* [前端vue 导出 xlsx(后端只需要提供列表数据)](https://blog.csdn.net/ingenuou_/article/details/124474446)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [vue中使用xlsx.js前端导出生成excel文件](https://blog.csdn.net/mr123666/article/details/127253414)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文