-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Description
- Read the docs.
- Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/vue-next instead.
- This is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
Describe the bug
/Login.vue:4:9: error: No matching export for import "ManageProps"

When I try to export an interface from a TS file, I want to import the interface type in Vue, but it fails, he tells me:The requested module '/src/typings/manage.ts' does not provide an export named 'ManageProps' ,May I ask how I should solve the problem and whether there is a specific solution?

Reproduction
Please provide a link to a repo that can reproduce the problem you ran into.
A reproduction is required unless you are absolutely sure that the the problem is obvious and the information you provided is enough for us to understand what the problem is. If a report has only vague description (e.g. just a generic error message) and has no reproduction, it will receive "need reproduction" label. If no reproduction is provided after 3 days, it will be auto-closed.
System Info
viteversion: 2.0.5- Operating System: win10
- Node version: 14
- Package manager (npm/yarn/pnpm) and version: yarn
Logs (Optional if provided reproduction)
- Run
viteorvite buildwith the--debugflag. - Provide the error log here.