mirror of
https://codeberg.org/uzu/strudel
synced 2026-09-07 15:26:14 -04:00
pull out tutorial
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
import { defineConfig } from 'vite';
|
||||
import react from '@vitejs/plugin-react';
|
||||
import mdx from 'vite-plugin-mdx';
|
||||
|
||||
// `options` are passed to `@mdx-js/mdx`
|
||||
const options = {
|
||||
// See https://mdxjs.com/advanced/plugins
|
||||
remarkPlugins: [
|
||||
// E.g. `remark-frontmatter`
|
||||
],
|
||||
rehypePlugins: [],
|
||||
};
|
||||
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [react(), mdx(options)],
|
||||
});
|
||||
Reference in New Issue
Block a user