chore: rename docs-v2 to docs

This commit is contained in:
Rotimi Best
2025-12-21 12:37:06 +00:00
parent 2526f4c227
commit cc04fba42e
91 changed files with 1694 additions and 0 deletions
+30
View File
@@ -0,0 +1,30 @@
import { defineConfig } from 'vite';
import mdx from 'fumadocs-mdx/vite';
import { nitro } from 'nitro/vite';
import react from '@vitejs/plugin-react';
import tailwindcss from '@tailwindcss/vite';
import { tanstackStart } from '@tanstack/react-start/plugin/vite';
import tsConfigPaths from 'vite-tsconfig-paths';
export default defineConfig({
server: {
port: 3000
},
base: '/docs',
plugins: [
mdx(await import('./source.config')),
tailwindcss(),
tsConfigPaths({
projects: ['./tsconfig.json']
}),
tanstackStart({
prerender: {
enabled: true
}
}),
react(),
// see https://tanstack.com/start/latest/docs/framework/react/guide/hosting for hosting config
// we configured nitro by default
nitro()
]
});