vuepress-plugin-code-copy
This plugin is inspired by vuepress-plugin-code-copy, but for Vue 3.x and VuePress 2.x
VuePress is evolving rapidly, and there's no stable version yet. This plugin is only tested with VuePress version 2.0.0-beta.60
Documentation
https://snippetors.github.io/plugins/vuepress-plugin-code-copy
Install
This plugin requries VuePress>=2.0.0
yarn add -D @snippetors/vuepress-plugin-code-copy
// .vuepress/config.js
import codeCopyPlugin from '@snippetors/vuepress-plugin-code-copy'
export default {
plugins: [
codeCopyPlugin(options),
],
}