以下是已經安裝在專案中的套件。
- axios (^1.6.7)
- bootstrap (^5.3.3)
- bootstrap-icons (^1.11.3)
- pinia (^2.1.7)
- vue (^3.4.19)
- vue-router (^4.2.5)
- @vitejs/plugin-vue (^4.5.2)
- eslint (^8.49.0)
- eslint-config-standard (^^17.1.0)
- eslint-import-resolver-alias (^1.1.2)
- eslint-plugin-import (^2.29.1)
- eslint-plugin-n (^16.6.2)
- eslint-plugin-promise (^6.1.1)
- eslint-plugin-vue (^9.20.1)
- gh-pages (^6.1.1)
- sass (^1.70.0)
- vite (^5.1.2)
- vite-plugin-eslint (^1.8.1)
- Sweet Alert 2 (^11.10.5)
- Swiper (^11.0.6)
- vee-validate (^4.12.5)
- vue-loading-overlay (^6.0.4)
- echarts (^5.5.0)
- json-server (0.17.4)
public
:公開的靜態檔案src
:專案的程式碼assets
:靜態檔案components
:元件router
:路由store
:狀態管理utils
:共用程式views
:頁面App.vue
:根元件main.js
:進入點
.env.example
:環境變數範本.eslintrc.js
:ESLint 設定檔.gitignore
:Git 忽略檔案.nvmrc
:Node.js 版本index.html
:進入點 HTMLpackage-lock.json
:套件版本鎖定package.json
:專案資訊README.md
:專案說明vite.config.js
:Vite 設定檔server.js
:JSON Server
VSCode + Volar (and disable Vetur) + ESLint
npm install
npm run dev
使用 gh-pages 進行部署,部署前需先測試 Build 是否正常。
npm run build
npm run deploy