test02/node_modules/@vuepress/plugin-copy-code/lib/client/config.js
罗佳鸿 6aa1ebe342
Some checks are pending
部署文档 / deploy-gh-pages (push) Waiting to run
first commit
2024-08-13 10:11:19 +08:00

14 lines
405 B
JavaScript

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