vuepress-plugin-filelist
v0.13.8
Published
OpenList file browser for VuePress 2: browse, preview, filter and batch download files inside your docs, with folder passwords and light / dark themes
Maintainers
Readme
This is the VuePress edition of vitepress-plugin-filelist: the same component and version, released together.
Install
npm install -D vuepress-plugin-filelist// .vuepress/config.ts
import { viteBundler } from '@vuepress/bundler-vite'
import { defineUserConfig } from 'vuepress'
import { fileListPlugin } from 'vuepress-plugin-filelist'
export default defineUserConfig({
bundler: viteBundler(),
plugins: [fileListPlugin()],
})Then on any page:
<FileList base="https://pan.example.com" path="/course" locale="en-US" />Tested with the default theme, vuepress-theme-plume and vuepress-theme-hope on @vuepress/bundler-vite. Colours and light / dark follow the theme.
Docs
👉 Using with VuePress, and every prop in Component props.
