diff --git a/docs/reference/site-config.md b/docs/reference/site-config.md index e6c2d00c..b8881385 100644 --- a/docs/reference/site-config.md +++ b/docs/reference/site-config.md @@ -404,12 +404,28 @@ interface MarkdownOptions extends MarkdownIt.Options { Pass raw [Vite Config](https://vitejs.dev/config/) to internal Vite dev server / bundler. +```js +export default { + vite: { + // Vite config options + } +} +``` + ### vue - Type: `import('@vitejs/plugin-vue').Options` Pass raw [`@vitejs/plugin-vue` options](https://github.com/vitejs/vite-plugin-vue/tree/main/packages/plugin-vue#options) to the internal plugin instance. +```js +export default { + vue: { + // @vitejs/plugin-vue options + } +} +``` + ## Build Hooks VitePress build hooks allow you to add new functionality and behaviors to your website: