dumi-plugin-code-snippets
v1.2.0
Published
Dumi Plugin - Import code snippets from existing files
Downloads
29
Readme
dumi-plugin-code-snippets
从现有文件中导入代码片段
Usage
Install
npm install dumi-plugin-code-snippets --save-dev
Apply
// .dumirc.ts
export default {
plugins: ['dumi-plugin-code-snippets'],
};
Exampled
<<< your/file/path
Full Document
Read more: https://wxh16144.github.io/dumi-plugin-code-snippets/