--- tags: 隨手筆記 title: Vite 專案樣版下載 --- # Vite 專案樣版下載 若有專案需求,歡迎 [點我](https://github.com/Hsuan777/VueTemplate) Download 或 Fork ==不重下指令== ==不定時更新== ## ▶ 樣版安裝說明 1. 請先安裝 [Node.js](https://nodejs.org/zh-tw/download) 2. 輸入 `git clone https://github.com/Hsuan777/VueTemplate.git` 3. 輸入 `cd VueTemplate` 移動至資料夾內 4. 輸入 `npm i` 自動安裝相關套件 5. 輸入 `npm run dev` 確認專案可執行 6. 更改資料夾 VueTemplate 名稱 7. 更改 Repo `git remote set-url origin <your github repo>` 8. 更改 “/.gitignore" 設定 ## ▶ Vite + Vue 樣版使用說明 已選擇: - [x] Pinia - [x] Router - [x] ESLint - [x] Prettierrc 額外範本檔案:使用前**請先移除 example 詞綴**,用不到的可移除 - [ ] `/.env` 使用 Vite 環境變數 - [ ] `/docker-compose-dev.yml` - [ ] `/deploy.sh` 自動化部屬到 gh-pages 或 gl-pages ## ▶ Barch 陸續新增或變動環境或套件 ### ✏ Tailwind Barch `git clone https://github.com/Hsuan777/VueTemplate.git -b feat/tailwind` ### ✏ Bootstarp 5 Barch