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

在vue2.x项目中引入button #3

Open
frontHu opened this issue Apr 27, 2021 · 3 comments
Open

在vue2.x项目中引入button #3

frontHu opened this issue Apr 27, 2021 · 3 comments

Comments

@frontHu
Copy link

frontHu commented Apr 27, 2021

image
image

@supercll
Copy link
Owner

抱歉,这个没办法在vue2项目中使用,这个ui库依赖于vue3生态,我尝试过即使同时安装vue2和vue3最终打包之后也会产生各种冲突

@supercll supercll pinned this issue Apr 27, 2021
@supercll supercll unpinned this issue Apr 27, 2021
@supercll
Copy link
Owner

但是如果非要用的话,需要一个babel插件来重新编译ui库源码,参考 react-component in angularjs 或者 reac- component in vue,但是我是个菜鸡还不会写babel😂🤣

@frontHu
Copy link
Author

frontHu commented Apr 28, 2021

但是如果非要用的话,需要一个babel插件来重新编译ui库源码,参考 react-component in angularjs 或者 reac- component in vue,但是我是个菜鸡还不会写babel😂🤣

哦哦,我看你写的介绍可以在vue2.x中使用,以为可以直接使用呢,哈哈

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