mirror of
https://github.com/zenlm/zen.git
synced 2026-07-26 22:28:05 +00:00
- Convert to Next.js 15 with TypeScript - Create reusable React components for Header/Footer (DRY) - Convert all pages to TSX: page.tsx, models/page.tsx, research/page.tsx - Configure static export to docs/ for GitHub Pages - Add .nojekyll for proper routing - All builds generate static HTML (SSG) - Remove old build.js template system - TypeScript for type safety - Next.js Image optimization disabled for static export
13 lines
211 B
JavaScript
13 lines
211 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
output: 'export',
|
|
distDir: 'docs',
|
|
images: {
|
|
unoptimized: true,
|
|
},
|
|
trailingSlash: true,
|
|
basePath: '',
|
|
}
|
|
|
|
module.exports = nextConfig
|