Adding Catalog with one line
Simply add catalog with out-of-box AutoCatalog component
Generate catalog page automatically
Generate catalog page for every dir
How to use
Install
pnpm add -D vuepress-plugin-auto-catalog
yarn add -D vuepress-plugin-auto-catalog
npm i -D vuepress-plugin-auto-catalog
Usage
// .vuepress/config.ts
import { autoCatalogPlugin } from "vuepress-plugin-auto-catalog";
export default {
plugins: [
autoCatalogPlugin({
// your options
}),
],
};
// .vuepress/config.js
import { autoCatalogPlugin } from "vuepress-plugin-auto-catalog";
export default {
plugins: [
autoCatalogPlugin({
// your options
}),
],
};