使用 Vue CLI 練習的第一個 Vue Side Projects.
本機必須先安裝 Node.js
npm install
Clone 後必須先執行 npm install 安裝相關的 node_modules。
npm run serve
開以享受即時的開發結果預覽,前端開發的行雲流水感來自於此 😎
npm run build
執行後會進行下列指令:
# Create dist/ for compiled files
vue-cli-service build
# Push files to gh-page Branch
cd .\dist
git init
git add -A
git commit -m 'deploy'
git push -f https://github.com/sdwh/ColorMaster.git master:gh-pagesnpm run lint