[Vue warn]: Failed to resolve component vue3 import element error

report errors

Error introducing elementui in vue3 project

reason

You need to add a reference (use/component) before mounting

Before modification

After modification

Error reporting solution

Read More: