vitepress-theme-demoblock icon indicating copy to clipboard operation
vitepress-theme-demoblock copied to clipboard

一个基于 Vitepress 的主题插件,它可以帮助你在编写文档的时候增加 Vue 示例。

Results 18 vitepress-theme-demoblock issues
Sort by recently updated
recently updated
newest added

npm run dev 无效 npm run serve报错

![image](https://user-images.githubusercontent.com/42601044/145051976-0f2906dd-d73d-4443-bcbb-d459024f27c4.png) 这种情况下写会出现错误:`[vite] Internal server error: Single file component can contain only one element` ![image](https://user-images.githubusercontent.com/42601044/145051607-7e6649cc-a2ae-49eb-92ca-70138d193a63.png) 希望支持在:::demo外还能再写script标签

feature request

这个问题一直没有解决,最后自己仿照element-plus 撸了一个, 欢迎使用:https://javaweb-h5.gitee.io/component-docs-template/document/

![image](https://github.com/xinlei3166/vitepress-theme-demoblock/assets/56419687/70344ba3-7a8d-4efa-b6d3-8ea6c0810ae7) simple-git-hooks我看了一下好像是这个插件里的,这个问题该怎么处理呢

2:40:33 PM [vitepress] Internal server error: Illegal tag name. Use '<' to print '

可以在在线沙盒中打开么,还有1.0.0-beta.7能用么

在作者提供的 [vitepress-demo](https://github.com/xinlei3166/vitepress-demo) 项目基础上,添加 [vitepress-plugin-tabs](https://www.npmjs.com/package/vitepress-plugin-tabs) 插件,会发现 `vitepress-plugin-tabs ` 插件失效,下图所示: ![2024-05-05_22-26-11](https://github.com/xinlei3166/vitepress-theme-demoblock/assets/155514729/3a048f23-1316-4bd3-b916-3c5935668563)

### 实际效果 ![2024-06-03 16-13-22屏幕截图](https://github.com/xinlei3166/vitepress-theme-demoblock/assets/40333954/256e3068-a7a1-40d9-8de3-9e1887dbe955) ### 文档效果 ![2024-06-03 16-14-13屏幕截图](https://github.com/xinlei3166/vitepress-theme-demoblock/assets/40333954/5c45bbe0-f6a3-460c-ace4-23e46a90114c) ### 复现 [naive-pro-components](https://infernalazazel.github.io/naive-pro-components/cn/layout/)