Skip to content

Commit f5b460b

Browse files
committed
fix: Configure Next.js for GitHub Pages deployment
- Add basePath and assetPrefix configuration for /design path - Fix asset loading issues on GitHub Pages - Update build configuration for proper static export - Ensure all assets load correctly from /design/ subdirectory
1 parent cbfafd0 commit f5b460b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

next.config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ import type { NextConfig } from "next";
33
const nextConfig: NextConfig = {
44
output: 'export',
55
trailingSlash: true,
6+
basePath: '/design',
7+
assetPrefix: '/design',
68
images: {
79
unoptimized: true,
810
},

0 commit comments

Comments
 (0)