這是一個基於 Vue 3 和 Vite 構建的 IT 服務公司網站模板,採用 Element Plus UI 框架,並整合了 GSAP 動畫庫、Swiper 輪播組件和 ScrollTrigger 滾動觸發器,為提供動態的互動體驗。
- 模板網址: Template Monster Demo
- 設計參考: Nexus UI Paradox
- 前端框架: 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 配置參考
- 全局樣式:
src/styles/global.css
- 變數定義:
src/styles/variables.css
- 響應式設計:
src/styles/rwd.css
- Element Plus 覆蓋:
src/styles/el-override.css
動畫相關配置位於 src/utils/animations.js