Marketing site for SilverShop, built with Vite, React, TypeScript, and React Router.
npm install
npm run devOpen the URL Vite prints (usually http://localhost:5173).
npm run buildOutput is written to dist/. A 404.html copy of index.html is produced so deep links work on GitHub Pages with client-side routing.
- In the repository Settings → Pages, set Build and deployment source to GitHub Actions (not only a static branch without a build publishing
dist/). - Push to
main. The workflow.github/workflows/deploy-pages.ymlrunsnpm ci,npm run build, and publishesdist/. - Custom domain:
public/CNAMEis copied intodist/on build (currentlywww.silvershop.io).
Static assets (images, CNAME, and other files copied verbatim) live under public/.