Personal homepage for Lai Haibo, built with Vue 3 + Vite + Tailwind CSS v4.
- Framework: Vue 3 (Composition API)
- Build Tool: Vite
- Styling: Tailwind CSS v4
- Routing: Vue Router 4 (hash mode)
- i18n: Vue I18n 9 (Chinese / English)
npm install
npm run devThe dev server will start at http://localhost:5173.
npm run buildOutput is in the dist/ directory.
npm run previewPush to the master branch triggers GitHub Actions, which builds and deploys to GitHub Pages automatically.
The workflow is defined in .github/workflows/deploy.yml.
src/
assets/main.css -- Tailwind v4 theme config + animations
components/ -- Reusable Vue components
i18n/ -- Internationalization (zh-CN, en)
layouts/ -- Page layout wrappers
router/ -- Vue Router config (hash mode)
views/ -- Page views (Home, About)
public/
404.html -- Old URL redirect handler
avatar.svg -- Profile avatar
All rights reserved.