0.0.7-beta.3 • Published 10 months ago
plugins-mdx v0.0.7-beta.3
plugins-mdx
A mdx plugin collection for plugins
仅支持vite
安装
npm i -D plugins-mdx
使用
import { defineConfig } from 'vite'
import mdx from 'plugins-mdx'
export default defineConfig({
plugins: [
mdx()
]
})
选项
export interface options {
/**
* root path
*/
root: string;
/**
* Base path of the site.
*/
base: string;
/**
* Enable single page application in production.
*/
enableSpa?: boolean;
/**
* Whether to fail builds when there are dead links.
*/
allowDeadLinks?: boolean;
/**
* vite plugin array
*/
plugins: Plugin[];
}
0.0.7-beta.3
10 months ago
0.0.7-beta.2
10 months ago
0.1.4
11 months ago
0.0.3
12 months ago
0.0.2
12 months ago