fuc-new/doc/node_modules/@vuepress/plugin-copy-code/lib/client/config.js
hellcat 6adbc04d4b 1
2025-10-03 17:17:08 +08:00

15 lines
476 B
JavaScript

import { defineClientConfig } from 'vuepress/client';
import { useCopyCode } from './composables/index.js';
export default defineClientConfig({
setup: () => {
useCopyCode({
selector: __CC_SELECTOR__,
ignoreSelector: __CC_IGNORE_SELECTOR__,
inlineSelector: __CC_INLINE_SELECTOR__,
locales: __CC_LOCALES__,
duration: __CC_DURATION__,
showInMobile: __CC_SHOW_IN_MOBILE__,
});
},
});