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自定义组件实现 #31
Comments
应该是这样的方式, React 还是底层,Vue 组件在 React 的 didMount 中实例化出来,并打通通信。 |
@RickCole21 可以来详细说一下 |
新的自定义组件核心还是 1. 在 React 中创建 Vue 的实例
2. 打通和 amis 的通信大部分情况应该是会编写基于 vue -> amis在实例化
监听之后在Vue实例中就可以这样使用
amis -> vue有时候 但是由于Vue的限制,你需要在实例化的时候声明所有响应式属性,所以在实例化
之后在
|
@2betop 不考虑直接出个全vue版本吗? |
不考虑,这成本得多大!! |
https://elemefe.github.io/element-react/ 现在新业务很少会选 React 做后台了吧,基本都是Webpack+Vue做基础 |
这是json renderer 不是 ui 库,用什么底层无所谓 |
关于vue组件的问题,能不出一个完整的demo,从自定义组件的开发打包到实际在vue项目中运用,对于前端基础差的同学们真的是很有必要的,谢谢了 |
我的方法:
|
请问这个amis怎传数据给vue组件呢 |
#20 因为在这个issue中看到Vue自定义组件正在开发中,我希望能将这套方案用到Vue项目中,请问下实现方案是用Vue重写了核心机制还是有一套Vue转React组件的实现呢?
The text was updated successfully, but these errors were encountered: