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

npm包import组件不能正常使用 #601

Closed
linweiwei123 opened this issue Jun 6, 2018 · 1 comment
Closed

npm包import组件不能正常使用 #601

linweiwei123 opened this issue Jun 6, 2018 · 1 comment

Comments

@linweiwei123
Copy link

[问题简单描述]

npm 模块的组件引入不正常,改成全路径精准到模块的某个组件的却可以,无法解决,请帮忙看下什么原因?

问题复现步骤:

import { CalenderHotel } from 'widow-mpvue'; NO OK!😭
import CalenderHotel from 'widow-mpvue/lib/calender-hotel/index'; It's OK!😁

期望的表现:

All OK!

观察到的表现:

[在这里描述观察到的表现]
image

是否存在此问题?如果存在,是什么原因

@F-loat
Copy link
Contributor

F-loat commented Jun 6, 2018

暂时不支持间接引用

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants