Building Test Static School Website: Next.js (No RSC, No APIs) vs Plain React, Using ThemeWagon SI-Education Next.js Template
Quick Info Live mainly static test school website: https://ravisiyer.github.io/testschoolwspub/ Private GitHub source repo: https://github.com/ravisiyer/testschoolws Si – Free Tailwind CSS Educational Website Template https://themewagon.com/themes/si-education/ MIT license Next.js template used for above test school website Seems to avoid using React Server Components(RSC). All the components that I examined had "use client" at the top. Has a virtually empty API file and so effectively does not use Next.js APIs Uses Tailwind CSS and TypeScript To deploy si-education project to GitHub Pages As my GitHub project source code is private, I needed a separate public GitHub project for deployment (hosting the exported static output). In next.config.ts, basePath had to be set to the public GitHub Pages repository name to ensure correct asset paths for JS, CSS, and images; without this, multiple 404 errors occurred: const basePath = '/testschoolwspub'; .nojekyll empty file ha...