pull out tutorial
This commit is contained in:
parent
42d3510c74
commit
446ddc2c11
12 changed files with 5719 additions and 2385 deletions
17
tutorial/vite.config.js
Normal file
17
tutorial/vite.config.js
Normal file
|
|
@ -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)],
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue