Skip to content

wdaweb/the-last-template-homershie

Repository files navigation

IT 服務公司網站模板

這是一個基於 Vue 3 和 Vite 構建的 IT 服務公司網站模板,採用 Element Plus UI 框架,並整合了 GSAP 動畫庫、Swiper 輪播組件和 ScrollTrigger 滾動觸發器,為提供動態的互動體驗。

🎨 設計參考

🛠️ 技術棧

  • 前端框架: Vue 3 (Composition API)
  • 構建工具: Vite
  • UI 組件庫: Element Plus
  • 動畫庫: GSAP (GreenSock Animation Platform)
  • 輪播組件: Swiper.js
  • 滾動觸發: ScrollTrigger
  • 路由管理: Vue Router
  • 樣式: CSS3

✨ 主要功能

  • 🎨 現代化 UI: 基於 Element Plus 的美觀界面
  • 🎭 流暢動畫: GSAP 驅動的頁面動畫效果
  • 📱 觸控友好: Swiper 輪播組件支援觸控操作
  • 📜 滾動觸發: ScrollTrigger 實現滾動觸發動畫
  • 快速載入: Vite 提供極速的開發和構建體驗

📁 專案結構

src/
├── components/          # Vue 組件
│   ├── AboutSection.vue
│   ├── BlogSection.vue
│   ├── BottomSection.vue
│   ├── ContactSection.vue
│   ├── FeedbackSection.vue
│   ├── FooterSection.vue
│   ├── HeroSection.vue
│   ├── NavSection.vue
│   ├── PortfolioSection.vue
│   ├── ProcessSection.vue
│   └── ServiceSection.vue
├── views/              # 頁面視圖
├── router/             # 路由配置
├── styles/             # 樣式文件
├── utils/              # 工具函數
└── main.js             # 應用入口

🚀 快速開始

安裝依賴

npm install

開發模式

npm run dev

啟動後訪問 http://localhost:5173 查看效果

生產構建

npm run build

代碼檢查

npm run lint

🎨 自定義配置

Vite 配置

詳見 Vite 配置參考

樣式自定義

  • 全局樣式: src/styles/global.css
  • 變數定義: src/styles/variables.css
  • 響應式設計: src/styles/rwd.css
  • Element Plus 覆蓋: src/styles/el-override.css

動畫配置

動畫相關配置位於 src/utils/animations.js

About

the-last-template-homershie created by GitHub Classroom

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages