vuepress-plugin-demo-block icon indicating copy to clipboard operation
vuepress-plugin-demo-block copied to clipboard

element-ui的 el-table 不能正常运行显示

Open XavierLuo opened this issue 5 years ago • 5 comments

安装了插件之后,使用element-ui的 el-table 不能正常运行显示table。但是有 table 元素显示。不知道什么问题。

XavierLuo avatar Feb 22 '20 04:02 XavierLuo

script 包裹的代码块通过 Vue.extend 编译出 Vue 对象,再调用其 $mount() 方法挂载到示例 dom,而非使用 vue-template-compiler 编译使其无法链接到注册组件导致的。

可以试试 https://github.com/calebman/vuepress-plugin-demo-container

calebman avatar May 31 '20 10:05 calebman

最后问题解决了吗? 我这也是用了vuepress-plugin-demo-block 写readme时 element table 不显示

liangxiaolong111 avatar Sep 04 '20 09:09 liangxiaolong111

script 包裹的代码块通过 Vue.extend 编译出 Vue 对象,再调用其 $mount() 方法挂载到示例 dom,而非使用 vue-template-compiler 编译使其无法链接到注册组件导致的。

可以试试 https://github.com/calebman/vuepress-plugin-demo-container

使用了,可还是报错, image

liangxiaolong111 avatar Sep 15 '20 09:09 liangxiaolong111

请问解决了吗?使用vuepress-plugin-demo-container,或者vuepress-plugin-demo-block都渲染不出来,除了ElTable组件,ElPopover组件也有这个问题。

wangliang01 avatar Jul 15 '21 08:07 wangliang01

最后问题解决了吗? 我这也是用了vuepress-plugin-demo-block 写readme时 element table 不显示

这个问题解决了吗?el-table有真实DOM元素,但是表头和表体的DOM是没有的,怎么解决的呀?

frontendWangqun avatar Aug 19 '21 08:08 frontendWangqun