Cannot read properties of undefined (reading 'use') TypeError: Cannot read properties of undefined (reading 'use')
时间: 2023-10-17 16:34:28 浏览: 152
这个错误是因为在Vue代码中尝试使用一个未定义的对象或属性。 在引用中提到了一个处理这个错误的文档,你可以查看该文档以获取更多详细的信息。根据引用中的代码片段来看,这个错误可能是由于未正确导入所需的模块或库导致的。你需要确保正确导入Vue、App和router,并在使用app.use(router)
之前确保它们都已被正确定义和导入。123
引用[.reference_title]
- 1 3 Uncaught TypeError: Cannot read properties of undefined (reading ‘use‘)[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
allinsert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"] - 2 Vue打包Cannot read property 'tapPromise' of undefined报错处理.docx[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
allinsert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"] [ .reference_list ]