A pre-rendered SPA built using React Router.
The site's content is in the app/routes/_base+/_wiki+
folder.
Pages are in MDX (Markdown + JSX) format. You can add or edit them with a pull request (or directly, if you have contributor permissions). If you want to avoid cloning the repo locally, try the github.dev web editor.
MDX is an extension of Markdown that allows you to import JSX (React) components and embed them in the markup. This is how we (currently) specify images, image galleries, and spoiler blocks.
Check out the available components in /app/components
. Search the codebase for examples where they are used!
Install the dependencies:
npm install
Start the development server with HMR:
npm run dev
Your application will be available at http://localhost:5173
.
When changes are pushed to the main branch, Cloudflare Pages runs npm run build
and publishes the contents of build/client
.
This template is built with Tailwind CSS.
Built with ❤️ using React Router.