需求:用户输入html / JS / .vue文件 动态渲染组件,实现组件定制
- 纯JS脚本-------------------------------------------------------------------------------------------------------------------
已实现 - 纯html-----------------------------------------------------------------------------------------------------------------------
展示类组件可以直接使用v-html,需要交互的要用到render,目前的问题是render渲染出来之后无法监听到值的改变 - JSX--------------------------------------------------------------------------------------------------------------------------
还没试 - .vue文件--------------------------------------------------------------------------------------------------------------------
还没试
解决过程:
https://www.zhihu.com/question/437966971
https://www.cnblogs.com/GoTing/p/15240070.html
https://blog.youkuaiyun.com/weixin_40057800/article/details/90316624
https://segmentfault.com/q/1010000023534933/
https://blog.youkuaiyun.com/qq_41848006/article/details/118493362