vitepress-extras
v0.1.3
Published
[![npm version][npm-version-src]][npm-version-href] [![npm downloads][npm-downloads-src]][npm-downloads-href] [![bundle][bundle-src]][bundle-href] [![Codecov][codecov-src]][codecov-href]
Downloads
7
Readme
Vitepress Extras
Useful extras for Vitepress.
Usage
Install package:
# npm
npm install vitepress-extras
# yarn
yarn add vitepress-extras
# pnpm
pnpm install vitepress-extras
# bun
bun install vitepress-extras
Import:
// ESM
import { generateSidebars } from "vitepress-extras";
// CommonJS
const { generateSidebars } = require("vitepress-extras");
Functions
generateSidebars
: will generate the sidebars for your vitepress docs.
Roadmap
- [x] Tests
Development
- Clone this repository
- Install latest LTS version of Node.js
- Enable Corepack using
corepack enable
- Install dependencies using
pnpm install
- Run interactive tests using
pnpm dev
License
Made with 💛
Published under MIT License.