Install
pnpm
pnpm add -D vuepress-plugin-components
yarn
yarn add -D vuepress-plugin-components
npm
npm i -D vuepress-plugin-components
Usage
TS
import { componentsPlugin } from "vuepress-plugin-components";
export default {
plugins: [
componentsPlugin({
// your options
}),
],
};
JS
import { componentsPlugin } from "vuepress-plugin-components";
export default {
plugins: [
componentsPlugin({
// your options
}),
],
};