Open 158710 opened 2 years ago
封装 自定义指令,支持hooks component directive。请问 如何 在<demo/>中展示directive 例子
在配置文件中docs\.vitepress\theme\index.js 的 enhanceApp 注册指令就行
docs\.vitepress\theme\index.js
https://vitepress.vuejs.org/guide/using-vue.html#using-components
封装 自定义指令,支持hooks component directive。请问 如何 在<demo/>中展示directive 例子