This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 <script setup>
SFCs, check out the script setup docs to learn more.
vite.config.js defineConfig須設定靜態專案的網址 官方說這樣做 但感覺有點鳥蛋
base: '/vite-first'
//新方法 執行這兩行 就會把build的推到gh-pages
npm run build
git add dist
git commit -m 'update gh-pages'
git subtree push --prefix dist origin gh-pages