Campus Compass is a CPT208 campus-tour portfolio rebuilt with React, Vite, TypeScript, and Tailwind CSS.
- React 19
- Vite 8
- TypeScript
- Tailwind CSS (v4 via
@tailwindcss/vite)
npm run devstart local development servernpm run buildcreate production build intodist/npm run previewpreview production build locally
-
Install dependencies
npm install
-
Start development
npm run dev
-
Build for production
npm run build
The repository includes .github/workflows/deploy.yml, which deploys automatically on push to main.
- Open GitHub repository Settings.
- Go to Pages.
- Set Build and deployment source to GitHub Actions.
After that, every push to main will:
- Install dependencies (
npm ci) - Build the project (
npm run build) - Deploy
dist/to GitHub Pages
vite.config.tscurrently usesbase: '/', which matches user/org pages such asgroup3b-5.github.io.- If this project is moved to a project page repository, update
baseaccordingly, for examplebase: '/repo-name/'.