This page walks through everything you need to get Retro Cosmic Arcade running on your local machine. The project uses Vite as its build tool, so the development experience is fast — cold starts are typically under a second and hot module replacement keeps changes instant. You will need Node.js 18 or later and a package manager (npm, yarn, or pnpm) installed before you begin.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/apursley2012/retro-cosmic-arcade/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
- Node.js 18+
- npm, yarn, or pnpm
- Git
Steps
Install dependencies
Install all required npm packages. Choose the package manager you prefer:This installs React 18, Vite, React Router 6 (
react-router-dom), Framer Motion, Tailwind CSS, and all related tooling declared in package.json.Start the development server
Launch the Vite dev server with hot module replacement.Vite will print the local URL once the server is ready:
Open the site in your browser
Navigate to http://localhost:5173 in any modern browser. You should see the Home page with the full Y2K aesthetic — cosmic background, scanline overlay, marquee ticker, and navigation bar.
Building for Production
When you are ready to deploy a production-optimised build, run:dist/ directory, and generates <link rel="modulepreload"> tags in every HTML file so each page pre-fetches its JavaScript before the user navigates.
Previewing the Production Build Locally
Before pushing to a host, verify the production build looks correct with Vite’s local preview server:dist/ folder at http://localhost:4173 using the same static-file behaviour your production host will use.
Static Hosting Compatibility
Retro Cosmic Arcade uses hash-based routing (
/#/, /#/about, etc.). This means the browser never sends the React route path to the server — every request lands on the HTML file already in dist/. No _redirects file, vercel.json rewrite rule, or .htaccess configuration is needed. The site deploys cleanly to GitHub Pages, Netlify (drag-and-drop), Vercel, Cloudflare Pages, AWS S3, or any plain static host.