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

vue组件中使用ts报组件未注册 #13

Open
gdutwyg opened this issue Jul 17, 2018 · 5 comments
Open

vue组件中使用ts报组件未注册 #13

gdutwyg opened this issue Jul 17, 2018 · 5 comments

Comments

@gdutwyg
Copy link

gdutwyg commented Jul 17, 2018

大佬,我是通过Vue.use(elementui)这样全局使用,然后在vue组件中使用ts,但是报了elementui组件未注册
webpack版本:"^4.5.0"
ts-loader版本: "^4.4.2"

@jkchao
Copy link
Owner

jkchao commented Jul 17, 2018

报错信息太少了,具体一点

@gdutwyg
Copy link
Author

gdutwyg commented Jul 17, 2018

image
image
image

@gdutwyg
Copy link
Author

gdutwyg commented Jul 17, 2018

如果我把lang="ts"去掉,就不会报错

@gdutwyg
Copy link
Author

gdutwyg commented Jul 17, 2018

所以想问一下这个错误是跟什么有关?

@jkchao
Copy link
Owner

jkchao commented Jul 18, 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

2 participants