Because Neon Retro Web uses hash-based routing, every URL the app generates keeps the path entirely in the fragment (theDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/apursley2012/neon-retro-web/llms.txt
Use this file to discover all available pages before exploring further.
# portion), which is never sent to the server. This means the static host only ever needs to serve individual HTML files — it never needs to resolve deep-link paths or apply rewrite / redirect rules. Any host that can serve a folder of HTML, CSS, and JS files will work perfectly out of the box.
The entire repository root is the deployment artifact. The build output is already committed to the repository — simply point your hosting provider at the repo root and the site will be live. No build command, no special server configuration, no _redirects file, no rewrite rules.
This repository contains pre-built static output. You do not need to run
npm run build before deploying. If you have made source-level customisations and need to rebuild, see the Building guide.Hosting Providers
- GitHub Pages
- Netlify
- Vercel
GitHub Pages can serve the repository root directly, making it the simplest zero-config option for Neon Retro Web.
Push your repository to GitHub
Make sure all files are committed and pushed to the
main branch. The index.html, pages/, assets/, components/, and .nojekyll files must all be present at the repo root.Open the Pages settings
Navigate to your repository on GitHub, then go to Settings → Pages in the left sidebar.
Configure the source
Under Build and deployment, set:
- Source:
Deploy from a branch - Branch:
main - Folder:
/ (root)
The
.nojekyll file is already present in the repository root. This empty file tells GitHub Pages to skip Jekyll processing entirely — without it, GitHub Pages could ignore files with underscore-prefixed names and garble asset paths.When the site is served from a subpath (e.g.
https://username.github.io/neon-retro-web/), the hash-redirect script uses window.location.pathname, which already includes the subpath prefix. No additional base-path configuration is needed for the redirect to work correctly.Custom Domains
Environment Variables
Neon Retro Web ships with no environment variables in its default configuration — the portfolio is fully static and makes no external API calls out of the box. If you extend the project by wiring up the Contact page to a service such as Formspree or EmailJS, you will need to handle API keys securely. This requires working with the original source project (which includespackage.json and src/). Vite exposes environment variables to client-side code through the import.meta.env object, but only variables prefixed with VITE_ are included in the bundle.
Create a .env file in the source project root:
- GitHub Pages: use repository secrets with an Actions workflow to inject variables at build time.
- Netlify: go to Site configuration → Environment variables.
- Vercel: go to Project settings → Environment Variables.