vitepress-theme-demoblock
vitepress-theme-demoblock copied to clipboard
一个基于 Vitepress 的主题插件,它可以帮助你在编写文档的时候增加 Vue 示例。
 这是因为什么导致的呢
```js "vitepress": "^1.0.0-alpha.8", "vitepress-theme-demoblock": "^1.4.2", ``` md文件中的style scoped不生效,比如下面的content会影响全局的content样式. ```vue 内容 .content { height: 300px; } ```
` File: D:/*/node_modules/.pnpm/[email protected]/node_modules/vitepress-theme-demoblock/components/Demo.vue 91 | 92 | const onClickControl = () => { 93 | isExpanded.value = !isExpanded.value | ^ 94 | hover.value = isExpanded.value 95 | } ` ...
In my case, there is not a`__data` in` md` then it cause a crash.
使用的是vite版本^1.0.0-alpha.4
```vue import { defineComponent } from 'vue' import { AddCircle } from 'chintui-icons' export default defineComponent({ components: { AddCircle, }, }) ``` import { AddCircle } from 'chintui-icons' 这行报错 error:...
在md中使用scss以及:deep深度选择器,实际上样式没有渲染,相同的代码到正常的页面是可以渲染的,是不是不支持:deep?