Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import error when file and folder have the same name #1871

Closed
qiaozhu opened this issue Feb 4, 2021 · 0 comments
Closed

Import error when file and folder have the same name #1871

qiaozhu opened this issue Feb 4, 2021 · 0 comments

Comments

@qiaozhu
Copy link

qiaozhu commented Feb 4, 2021

image

in main.ts
import router from './router'

it's Imported “router/index.ts" Not "router.ts"

@github-actions github-actions bot locked and limited conversation to collaborators Jul 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant