"export 'option1' was not found in './echartData.js'
时间: 2023-12-31 18:05:10 浏览: 114
echarts的option
这个错误提示是在使用Vue时出现的,它指出在"./echartData.js"中没有找到名为"option1"的导出。根据引用\[3\]中的描述,这可能是由于引用路径不正确导致的。你可以尝试修改引用路径,确保正确引入了"./echartData.js"文件,并且确保在该文件中导出了名为"option1"的内容。如果问题仍然存在,你还可以检查一下是否正确注册了组件。
#### 引用[.reference_title]
- *1* [vue-cli3.0打包组件后不能使用"export default was not found in umd.js](https://blog.csdn.net/weixin_39881167/article/details/111864421)[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^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [vue 安装 vuex 报错 “export ‘xxx‘ was not found in ‘vue‘ (“export ‘watch‘ was not found in ...](https://blog.csdn.net/weixin_44058725/article/details/123047714)[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^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *3* [Vue组件引用时出现 export ‘xxx‘ was not found in ‘xxx‘或This relative module was not found:‘xxx...](https://blog.csdn.net/weixin_44240448/article/details/128614243)[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^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文