Starting Mystery Haunting in development mode gives you the full spooky experience in your browser — complete with Framer Motion page transitions, ghost particle effects, and the Creepster-font atmosphere — all with Vite’s hot module replacement (HMR) keeping every change reflected instantly without a full page reload. This is the fastest way to explore and iterate on the portfolio locally.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/apursley2012/mystery-haunting/llms.txt
Use this file to discover all available pages before exploring further.
Start the Dev Server
From the project root, run:Available Scripts
The project ships with three npm scripts for the full develop → build → preview workflow:| Script | Command | Description |
|---|---|---|
dev | vite | Start the development server with hot module replacement |
build | vite build | Build an optimised production bundle to dist/ |
preview | vite preview | Serve the production build locally for final testing |
Static Page Exports
Thepages/ directory contains individual pre-rendered HTML entry points for every route in the portfolio. These files are used by Vite to generate separate pages for static hosting, enabling direct URL access to each section without relying on a catch-all redirect:
| File | Route |
|---|---|
pages/Landing.html | /landing — Landing page |
pages/About.html | /about — About section |
pages/Projects.html | /projects — Projects showcase |
pages/Work.html | /work — Work experience |
pages/Skills.html | /skills — Skills overview |
pages/CaseStudies.html | /case-studies — Case studies |
pages/Blog.html | /blog — Blog posts |
pages/Testimonials.html | /testimonials — Testimonials |
pages/Contact.html | /contact — Contact form |
Testing the Production Build
Deploying the Built Site
Once you’ve runnpm run build, the dist/ folder contains a fully self-contained static site ready to deploy. It can be hosted on any static platform — GitHub Pages, Netlify, Vercel, or any CDN that serves HTML files.