-
Notifications
You must be signed in to change notification settings - Fork 495
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.install报错 #75
Labels
bug
Something isn't working
Comments
终于全局安装完了,文档坑挺多 一我盲猜是Vue.comonent不是Vue.install Object.values(icons).forEach(icon => {
icon.name && Vue.component(icon.name, icon)
}) |
建议吧,可以用 Vue.use 全局安装。。。。 |
https://github.com/ElemeFE/element/blob/dev/src/index.js 参考一下这里,提供一下install函数就行了 = = |
感谢反馈,可以提一个PR(^o^)/~ |
最近比较忙,周末我看看 |
试试@icon-park/vue@1.1.5,这里补充了例子:https://github.com/IconPark/demos/blob/master/vue2-icon-demos/src/App.vue |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://github.com/bytedance/IconPark/blob/master/packages/vue/README.md#install
Vue全局安装文档中
Vue实例好像没有install函数?
The text was updated successfully, but these errors were encountered: